Help: Delete form + subform record with 1 button

BAT40

New member
Local time
Today, 02:59
Joined
May 18, 2007
Messages
5
Hi,

I have looked on the forum but found no answer.

I have a form (employee information) with 3 related subform which records relationship between employees and different subsidiaries (work for, contract with, paid by).

What I want to do is create a delete button that deletes the form record and the 3 relationship records in the subforms.

Please help me out!

Thanks.

Bat
 
If you have your relationships setup correctly with referential integrity and cascading deletes set all you need to do is delete the main record. All related records will also be deleted.
 
Thank you!
 

Users who are viewing this thread

Back
Top Bottom