M
mary
I am having problems . Please Help. I have an Access 2002 db. One master
form with 2 subforms. If the value in a control = 9 I would like the focus
set to a control in the subform. Sometime it works other times it doesn't. I
keep getting GoToControl is not available.
An example of the code:
If Not IsNull(Me!htDt) Then
DoCmd.GoToControl "subFrmWtBp"
DoCmd.GoToControl "visitNum"
End If
I have also used Me.Active Control with the same results.
Thanks in advance for any and all help.
form with 2 subforms. If the value in a control = 9 I would like the focus
set to a control in the subform. Sometime it works other times it doesn't. I
keep getting GoToControl is not available.
An example of the code:
If Not IsNull(Me!htDt) Then
DoCmd.GoToControl "subFrmWtBp"
DoCmd.GoToControl "visitNum"
End If
I have also used Me.Active Control with the same results.
Thanks in advance for any and all help.