R
Russ
I'm trying to assign a GotoControl Action macro to a button. I'm
wanting the focus to go to a subform of a form where the button is.
I've read in 2000 help the following:
Tip You can use the GoToControl action to move to a subform, which
is a type of control. You can then use the GoToRecord action to move
to a particular record in the subform. You can also move to a control
on a subform by using the GoToControl action to move first to the
subform and then to the control on the subform.
But, when I run the macro with the button, I get an error saying it
there is no field with that name in the current record. I've entered
the subform's name in the macro's control name area, and tried various
syntaxes including just the simple name. This macro will work if I
enter a field name in the main form, but will not work using the
subform name.
Russ
wanting the focus to go to a subform of a form where the button is.
I've read in 2000 help the following:
Tip You can use the GoToControl action to move to a subform, which
is a type of control. You can then use the GoToRecord action to move
to a particular record in the subform. You can also move to a control
on a subform by using the GoToControl action to move first to the
subform and then to the control on the subform.
But, when I run the macro with the button, I get an error saying it
there is no field with that name in the current record. I've entered
the subform's name in the macro's control name area, and tried various
syntaxes including just the simple name. This macro will work if I
enter a field name in the main form, but will not work using the
subform name.
Russ