delete records macro

S

Steve Schapel

George,

Opening the table is not necessary, in order to do this. Just make a
Delete Query to delete all records from the table, and then use an
OpenQuery action in your macro to run the delete query.

Once you have it working correctly, you might also want to put a
SetWarnings/No action in the macro before the OpenQuery action, to
suppress the display of the action query confirmation message.
 
G

George Walters

Easy!@Thanks

Steve Schapel said:
George,

Opening the table is not necessary, in order to do this. Just make a
Delete Query to delete all records from the table, and then use an
OpenQuery action in your macro to run the delete query.

Once you have it working correctly, you might also want to put a
SetWarnings/No action in the macro before the OpenQuery action, to
suppress the display of the action query confirmation message.
 

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