Hello.
I have a form with 2 sub-forms in it. One is sfrmFormulation s, other is sfrmCategories. Logically, tblFormulations and tblCategories related on one-to-many basis and have delete and update cascade. In the form, they are kept related by on current event in sfrmFormulation s, which activates a requery in sfrmCategories.
When I delete a record in sfrmFormulation s, I get the following error:
Run-time error '3167'
Record is deleted.
Pressing the debug button, Access takes me to Form_Current sub, to the line:
I need some help on how can I handle properly such an event.
I have a form with 2 sub-forms in it. One is sfrmFormulation s, other is sfrmCategories. Logically, tblFormulations and tblCategories related on one-to-many basis and have delete and update cascade. In the form, they are kept related by on current event in sfrmFormulation s, which activates a requery in sfrmCategories.
When I delete a record in sfrmFormulation s, I get the following error:
Run-time error '3167'
Record is deleted.
Pressing the debug button, Access takes me to Form_Current sub, to the line:
Code:
Me.Parent.sfrmCategories.Form.Requery
Comment