How to do I clear a table after sending it

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Everybody,
I have a command button that let me submit a table when clicked. Now I
want the table to be cleared after that. Can somebody please tell me how to
do that?
Thank you for your help
 
well, i've no idea what you mean by "submit a table". but if you're asking
how to delete all the records from an Access table, use a Delete query.

hth
 
You don't need to write and store a query for this. Just do this:
CurrentDB.Execute("DELETE * FROM MyTableName;")
 
thanks for your help

Klatuu said:
You don't need to write and store a query for this. Just do this:
CurrentDB.Execute("DELETE * FROM MyTableName;")
 

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

Back
Top