I have a form (frmPeople) with several subforms, how can I delete a single record from the subform?</SPAN>
For example, John Doe has two speeding tickets on file, but one of them is a duplicate.</SPAN>
I have tried to select a textbox in the subform then run a delete command, but it deletes the record from the mainform (the person in this case)
</SPAN>
</SPAN>
How can I delete the subform record not the “main” record?</SPAN></SPAN>
For example, John Doe has two speeding tickets on file, but one of them is a duplicate.</SPAN>
I have tried to select a textbox in the subform then run a delete command, but it deletes the record from the mainform (the person in this case)
</SPAN>
Code:
</SPAN>
Me.frmTickets.Form.txtCR1.SetFocus</SPAN>
DoCmd.RunCommand acCmdDeleteRecord</SPAN>
How can I delete the subform record not the “main” record?</SPAN></SPAN>