Deleting data in table

  • Thread starter Thread starter Alex Martinez
  • Start date Start date
A

Alex Martinez

Hi,

I like to have a command button that will delete all data in a particular
table. Let's call this table AuditUpload. How does one code the command
button to delete the data only? Any help or tips will be appreciated. Thank
you.
 
try

CurrentDb.Execute "DELETE * FROM AuditUpload", dbFailOnError

hth
 

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