G
Guest
I have a relational database that uses a primary form with two subforms
attached. In testing, I noticed that if the user makes a mistake and begins
to enter something in the subform and then deletes it, an error message pops
up because the record in the table corresponding with that subform must have
reference an entry in its parent table. Since there is not a blank or null
value in the parent table, the form gives me the error. Is there a way to
work around this? I added a Undo Command Button and that works, but it
appears I would have to have a separate one for each subform. Is there a
way to have only one command button that works with all three, the primary
form and the two subforms?
attached. In testing, I noticed that if the user makes a mistake and begins
to enter something in the subform and then deletes it, an error message pops
up because the record in the table corresponding with that subform must have
reference an entry in its parent table. Since there is not a blank or null
value in the parent table, the form gives me the error. Is there a way to
work around this? I added a Undo Command Button and that works, but it
appears I would have to have a separate one for each subform. Is there a
way to have only one command button that works with all three, the primary
form and the two subforms?