G
Guest
Hi, can anyone please explain what might have triggered the "parent" error in
general?
In my example, the code below provided by the generosity of Dirk Goldgar
worked great until I developed my db further.
Before error occurs, I have a form (Form1) with two subforms. Both subforms
are based on the SAME table. The data-entry subform (sfSubInput) is in form
view; the list subform (sfSubList) is in table view displaying a list of
already entered records.
The new input entered in data-entry subform is saved and displayed in list
subform after a button (cmdSave) is clicked --and data-entry subform becomes
blank again and ready for another new input.
It's all good up till here. Later I created some other forms using the SAME
table above. Since then, when click cmdSave button, an error message returns:
"Method 'Parent' of Form_sfSubInput' failed"
Why would new forms elsewhere afftect this button? There's no relationship
between new forms and Form1. Also the table has never been altered.
general?
In my example, the code below provided by the generosity of Dirk Goldgar
worked great until I developed my db further.
Before error occurs, I have a form (Form1) with two subforms. Both subforms
are based on the SAME table. The data-entry subform (sfSubInput) is in form
view; the list subform (sfSubList) is in table view displaying a list of
already entered records.
The new input entered in data-entry subform is saved and displayed in list
subform after a button (cmdSave) is clicked --and data-entry subform becomes
blank again and ready for another new input.
It's all good up till here. Later I created some other forms using the SAME
table above. Since then, when click cmdSave button, an error message returns:
"Method 'Parent' of Form_sfSubInput' failed"
Why would new forms elsewhere afftect this button? There's no relationship
between new forms and Form1. Also the table has never been altered.