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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete record from subform using button on main form

Status
Not open for further replies.

Wrathchild

Technical User
Aug 24, 2001
303
US
Hi, is there a way to use a button on a main form to delete a record on a subform within it? I've tried several different ways but to no avail. I'm thinking there must be a way to just say delete current record or something then requery?
 
Try this, on the subform set up VB coding on after update on a field, that states if the user enter the word delete in that field the whole record will be deleted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top