Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete record by using VBA Coding

Status
Not open for further replies.

kasmawati

Programmer
Feb 10, 2003
1
MY
How to delete a row of data in a subform by using VBA Coding
 
Hallo,

You can either use
OpenRecordset, and the delete method,
or
docmd.RunSQL "DELETE * FROM [tbl] WHERE [field]=criteria

- Frink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top