Hi
I know how to open a query using one that is pre made.
docmd.openquery "The Query's name", acViewNormal, acReadOnly
How could i do it using an sql statement in VBA
---------------------------------
e.g
Dim sql as string
sql = "select * from tblBackup"
????
docmd.openquery sql .....
Thx
Darin
I know how to open a query using one that is pre made.
docmd.openquery "The Query's name", acViewNormal, acReadOnly
How could i do it using an sql statement in VBA
---------------------------------
e.g
Dim sql as string
sql = "select * from tblBackup"
????
docmd.openquery sql .....
Thx
Darin