Deleting a record.

  • Thread starter Thread starter Josef
  • Start date Start date
J

Josef

what is the easiest way of deleting an unwanted record using vba.

cheers
 
Hi Josef

CurrentDb.Execute _
"Delete from YourTable where PrimaryKeyField=SomeValue"
 

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