mud2
04-11-2006, 05:46 PM
In Database, where some Forms use a DoCmd.RunSql DO WORK, This doesn't
Dim ThisSql As String
ThisSql = "Select Keytable.Key FROM KeyTable;"
DoCmd.RunSql ThisSql
Instead, an error message: "RunSql requires an SQL Statement"
This same Sql in a query does work!
I had more success when I was a teenager on dates!
Dim ThisSql As String
ThisSql = "Select Keytable.Key FROM KeyTable;"
DoCmd.RunSql ThisSql
Instead, an error message: "RunSql requires an SQL Statement"
This same Sql in a query does work!
I had more success when I was a teenager on dates!