G
Guest
I have a form with 2 subforms on it. The main form has a one to many
relationship with each of the subforms with its primary key. I am trying to
create a button on the main form that will delete the entire record that is
linked by this primary key (hope I'm saying the correctly) Problem is, I get
an error message that states "The record cannot be deleted or changed because
"Subform1" includes related records."
Any one know how to write the code to accomplish this? (I know you do! -
someone always comes to my rescue - and I really appreciate it)
relationship with each of the subforms with its primary key. I am trying to
create a button on the main form that will delete the entire record that is
linked by this primary key (hope I'm saying the correctly) Problem is, I get
an error message that states "The record cannot be deleted or changed because
"Subform1" includes related records."
Any one know how to write the code to accomplish this? (I know you do! -
someone always comes to my rescue - and I really appreciate it)