J
Jose Perdigao
How can I open a query based a SQL statement?
I tried the following code but doesn't work.
dim strSQL as String
strSQL = "SELECT A2_WOUnitN.* FROM A2_WOUnitN;"
DoCmd.OpenQuery strSQL
I know, I can create a query based sql statement and then open the query. Is
it possible open the query directly from sql statement ?
Thanks a lot,
Any suggestions?
José
I tried the following code but doesn't work.
dim strSQL as String
strSQL = "SELECT A2_WOUnitN.* FROM A2_WOUnitN;"
DoCmd.OpenQuery strSQL
I know, I can create a query based sql statement and then open the query. Is
it possible open the query directly from sql statement ?
Thanks a lot,
Any suggestions?
José