prevent warnings

abbers_01

Registered User.
Local time
Today, 17:11
Joined
Aug 31, 2007
Messages
45
I have a form that is updating records using docmd.runsql(update...)

when it updates it brings up a warning that it is going to up date the records, is there a way to turn off these warnings and how can I do this.
 
sure is
be careful here you want to set
the warning off just before your code and then straight away afterwards ...

DoCmd.SetWarnings False

qry in here
DoCmd.SetWarnings True
 
awesome thanks for you quick reply
 
I have presumed their some button action to update get to the code in th ebutton and place this in the right palce and pop
 
bloody lucky - 10.45 here int he UK - past my bedtime ....:eek:
 

Users who are viewing this thread

Back
Top Bottom