Hi all... Been a while since had a question here, but I can not find a
single thing about this in the group or even on the whole web! My Access XP
application is running some stored queries and some SQL statements and I am
using DoCmd.Setwarnings False to turn off the default "Are you sure"
warnings in Access. When it hit's certain setwarning commands, it gives the
error dialog in the subject of this post. An example of my code follows.
Any help or tips would be appreciated!
Sample that produces error:
DoCmd.SetWarnings False
DoCmd.RunSQL "Insert Into tblEmailLog (txtEmailStatus) SELECT '" &
strEmailStatus & "' AS txtEmailStatus;"
DoCmd.SetWarnings True
Thanks again!