NXMold
Technical User
- Jul 22, 2008
- 104
I have a main form (mostly blank, no record source defined) with two sub-forms. These sub-forms are based on the same query, one form is a continuous datasheet, the other a more detailed view showing all fields.
Since the user can edit in either pane, I'm running into errors where the user edits the same record twice, at the same time. I think I need to bind these sub-forms to the same recordset, but I have no expierience with recordsets.
If on subform2 OnLoad I do:
Set me.recordset = forms!mainform!subform1.recordset
I get error 'object dosent support this property or method'
I wonder if I am making the reference prematurely, before the other forms are loaded. Or if I can even make that reference to a sub-form? Any tips?
Access 2000
Since the user can edit in either pane, I'm running into errors where the user edits the same record twice, at the same time. I think I need to bind these sub-forms to the same recordset, but I have no expierience with recordsets.
If on subform2 OnLoad I do:
Set me.recordset = forms!mainform!subform1.recordset
I get error 'object dosent support this property or method'
I wonder if I am making the reference prematurely, before the other forms are loaded. Or if I can even make that reference to a sub-form? Any tips?
Access 2000