DoCmd.SetWarnings False


F

fishqqq

I would like to have a macro open a table, select all the records,
then delete them - without the user getting the popup box asking if it
is ok to delete the records.

I believe the correct command is DoCmd.SetWarnings False - to disable
the pop up boxes but can someone tell me where to put this command in
the table to disable these pop up boxes?

tks
 
Ad

Advertisements

K

Ken Snell

That macro action doesn't go in the table. It needs to be a step in the
macro that you run to open the table, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top