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.
--
Ken Snell
http://www.accessmvp.com/KDSnell/
<(E-Mail Removed)> wrote in message
news:65e8acf7-57a8-48da-848c-(E-Mail Removed)...
>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