E
Ebbe
Hey there!
I have a Master form with 2 subforms (datasheet type), each sourced by a
query.
By clicking with the mouse I make record number 4 current in the subform_1
and record number 6 current in subform_2.
Then I click on a commandbutton in frmMaster, that make some manipulation in
the tables, on which the subforms queries are based.
At last I performs a requery on each subform.
Me![frmMaster subform_1].Form.Requery
Me![frmMaster subform_2].Form.Requery
The result is that record number 1 in each subform.
Now - my problem is who to make record number 4 and 6 current again.
The only way I know is to repeat Me![frmMaster
subform_x].Form.RecordSet.MoveNext until the appropriate record is reached.
Are there an easier way to refresh the 2 subforms and recover there record
position?
Thanks for any help.
Ebbe
I have a Master form with 2 subforms (datasheet type), each sourced by a
query.
By clicking with the mouse I make record number 4 current in the subform_1
and record number 6 current in subform_2.
Then I click on a commandbutton in frmMaster, that make some manipulation in
the tables, on which the subforms queries are based.
At last I performs a requery on each subform.
Me![frmMaster subform_1].Form.Requery
Me![frmMaster subform_2].Form.Requery
The result is that record number 1 in each subform.
Now - my problem is who to make record number 4 and 6 current again.
The only way I know is to repeat Me![frmMaster
subform_x].Form.RecordSet.MoveNext until the appropriate record is reached.
Are there an easier way to refresh the 2 subforms and recover there record
position?
Thanks for any help.
Ebbe