D
Daniel
Why is it that when I set my focus on a subform and then use the GotoRecord
command it is still trying to modify the record of the main form and not the
subform? I set the focus on a control my subform and then use the following
command:
DoCmd.GoToRecord acActiveDataObject, , acGoTo, 7
but it won't work and when I try to debug it using the:
MsgBox Screen.ActiveForm.Name
It returns the name of my main form as the active form instead of the
subform that has the focus. Where have I gone wrong in my approach?
How can I change the record of a subform?
If I have the following subform:
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire]![Drawing Status Tbl subform]
How can I programmatically goto record 7?
Thank you,
Daniel
command it is still trying to modify the record of the main form and not the
subform? I set the focus on a control my subform and then use the following
command:
DoCmd.GoToRecord acActiveDataObject, , acGoTo, 7
but it won't work and when I try to debug it using the:
MsgBox Screen.ActiveForm.Name
It returns the name of my main form as the active form instead of the
subform that has the focus. Where have I gone wrong in my approach?
How can I change the record of a subform?
If I have the following subform:
Forms![Drawing Management Frm]![Drawing History Frm
sous-formulaire]![Drawing Status Tbl subform]
How can I programmatically goto record 7?
Thank you,
Daniel