dbTalk Databases Forums  

Update Query Confirmation

comp.database.ms-access comp.database.ms-access


Discuss Update Query Confirmation in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brandon Mackie
 
Posts: n/a

Default Update Query Confirmation - 02-20-2004 , 10:15 PM






I am incredibly new to access and trying to learn as I go. I have set up a
few queries one of which is executed by a docmd.runsql in visual basic.
Because it is an update query it asks for confirmation every time it wants
to update the table. Is there any way to get around this



Reply With Quote
  #2  
Old   
Ray
 
Posts: n/a

Default Re: Update Query Confirmation - 02-23-2004 , 07:31 AM






"Brandon Mackie" <awktane (AT) telus (DOT) net> wrote

Quote:
I am incredibly new to access and trying to learn as I go. I have set up a
few queries one of which is executed by a docmd.runsql in visual basic.
Because it is an update query it asks for confirmation every time it wants
to update the table. Is there any way to get around this
Hello Brandon,

What you need to do in your code is to turn the
"Warning" off.

DoCmd.SetWarnings False

'Your code goes here.

DoCmd.SetWarnings True

Don't forget to ALWAYS turn the warnings back on or
there will be problems later on.

Regards,

Ray


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.