I know you can turn on the message prompt on the whole database using Tools...Options. How could I have the prompt not show up just on one particular update query that runs when a form is opened. Thanks in advance
Paps
Aha, I see the problem. You are loading the update query which does in fact cause Access to prompt you. What you want is to tell Access to execute the query.
Instead of the DoCmd command, use something like this if you're running Access 97 with DAO:
Currentdb.Execute stDocName
If you're using Access 2000+, mostly likely this command will work:
CurrentProject.Connection.Execute stDocName