G
Guest
I'm getting the above message when the following happens:
I have a normal form with two sub-forms. When I delete a record in the sub-form, it initiates a macro that requeries the entire main form and 2 sub-forms in order to populate various fields including calculated fields.
The error above is occurring immediately when the requery command is issued as part of the macro.
I've tried moving the focus from the sub-form to the main form before issuing the requery command but it's not working - same error message appears.
I would be grateful for a solution that doesn't involve VB code (however crude it might need to be) as I've never used VB coding in my database and wouldn't know how to!
I have a normal form with two sub-forms. When I delete a record in the sub-form, it initiates a macro that requeries the entire main form and 2 sub-forms in order to populate various fields including calculated fields.
The error above is occurring immediately when the requery command is issued as part of the macro.
I've tried moving the focus from the sub-form to the main form before issuing the requery command but it's not working - same error message appears.
I would be grateful for a solution that doesn't involve VB code (however crude it might need to be) as I've never used VB coding in my database and wouldn't know how to!