K
Kjuib
How do I get an Append Query to run from VB?
My current code is:
Dim dbs As Database
Set dbs = OpenDatabase("J:\Backups\ClosingManager.mdb")
dbs.Execute " INSERT INTO UpdateLog([Date], Area,
Comment) VALUES(Now(), strArea, strComment);"
dbs.Close
strArea and strComment are Variables for Strings, but the
Query will not run, but If I put the strings in there It
will run... what can I do differently?
My current code is:
Dim dbs As Database
Set dbs = OpenDatabase("J:\Backups\ClosingManager.mdb")
dbs.Execute " INSERT INTO UpdateLog([Date], Area,
Comment) VALUES(Now(), strArea, strComment);"
dbs.Close
strArea and strComment are Variables for Strings, but the
Query will not run, but If I put the strings in there It
will run... what can I do differently?