D
Douglas J. Steele
You can't just put SQL statements into VBA code like that. You have to
execute the SQL, either using the DoCmd.RunSQL statement or (better) the
Execute method of the Database object. Another option is to use the Command
object in ADO.
execute the SQL, either using the DoCmd.RunSQL statement or (better) the
Execute method of the Database object. Another option is to use the Command
object in ADO.