D
Dan
I was wondering if you can do anything use any SQL statement here:
stLinkCriteria = "SELECT * FROM [Customer Profile Sheet] WHERE [race] IN
(""Asian"", ""Caucasian"")"
DoCmd.OpenForm stDocName, , , stLinkCriteria
I wrote a query that said:
"SELECT *
FROM [Customer Profile Sheet]
WHERE [race] IN ("Asian", "Caucasian")"
and that worked fine so if I can do in VBA this that would be awsome or is
there another way. I know you could use the the OR statement but this is
actually only a small portion of the SQL statement that I need. Thanks
stLinkCriteria = "SELECT * FROM [Customer Profile Sheet] WHERE [race] IN
(""Asian"", ""Caucasian"")"
DoCmd.OpenForm stDocName, , , stLinkCriteria
I wrote a query that said:
"SELECT *
FROM [Customer Profile Sheet]
WHERE [race] IN ("Asian", "Caucasian")"
and that worked fine so if I can do in VBA this that would be awsome or is
there another way. I know you could use the the OR statement but this is
actually only a small portion of the SQL statement that I need. Thanks