Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

docmd.setwarnings

Status
Not open for further replies.

cmz21

Programmer
May 5, 2005
110
US
Hello,
I am running an Access query using vba. I would like to turn off the alert for running an append query. I thought the code to use was -

DoCmd.SetWarnings = False

But when I try to run it, I get a compile error saying 'Argument not optional'.

Is this the wrong code to use?

Thanks for any help.
 
it's not a setting, it's a function which takes in an argument...

i.e. remove the "="

--------------------
Procrastinate Now!
 
Thank You....I just figured that out as well.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top