S
scubadiver
Hello,
I want to list some specific queries in another query. The queries that I
want are prefixed by a 99 but when put 99 in the criteria of the first column
I get a "data type mismatch in criteria expression" error
any ideas?
SELECT Left([Name],2) AS prefix, Mid([Name],InStr([Name]," ")+1) AS QryName
FROM MsysObjects
WHERE (((MsysObjects.Type)=5) AND ((Left$([Name],1))<>"~"))
ORDER BY Left([Name],2);
I want to list some specific queries in another query. The queries that I
want are prefixed by a 99 but when put 99 in the criteria of the first column
I get a "data type mismatch in criteria expression" error
any ideas?
SELECT Left([Name],2) AS prefix, Mid([Name],InStr([Name]," ")+1) AS QryName
FROM MsysObjects
WHERE (((MsysObjects.Type)=5) AND ((Left$([Name],1))<>"~"))
ORDER BY Left([Name],2);