M
Mike Thomas
I have a form named "Part"
It has 2 subforms
1. form name is "part_supplier"
name of subform control is "part_supplier_sub"
2. form name is "supplier"
name of subform control is "supplier_sub"
From a module in the "supplier_sub" control I am trying to reset the record
pointer in the "part_supplier_sub" control to the first record.
This works:
[Form_part_supplier].Recordset.movefirst
I would prefer to do something like:
Me.parent.part_supplier_sub.recordset.movefirst
eg I would rather refer to the subform control's name in the parent form.
Can it be done this way, and if so how?
(Access's rules for referring to objects drive me crazy - if anyone knows
where this is explained in straightforward terms please give me the
reference.)
Many thanks
Mike Thomas
It has 2 subforms
1. form name is "part_supplier"
name of subform control is "part_supplier_sub"
2. form name is "supplier"
name of subform control is "supplier_sub"
From a module in the "supplier_sub" control I am trying to reset the record
pointer in the "part_supplier_sub" control to the first record.
This works:
[Form_part_supplier].Recordset.movefirst
I would prefer to do something like:
Me.parent.part_supplier_sub.recordset.movefirst
eg I would rather refer to the subform control's name in the parent form.
Can it be done this way, and if so how?
(Access's rules for referring to objects drive me crazy - if anyone knows
where this is explained in straightforward terms please give me the
reference.)
Many thanks
Mike Thomas