move focus

  • Thread starter Thread starter blackcat
  • Start date Start date
B

blackcat

i would like to be able to move focus to a field depending if another field
is ticked. i can do this on the same form but can't get it to work with a
subform. any ideas? thanks
 
You must set the focus to the subform first and then the control on the
subform.
 
It would have helped if you provided the name of your subform control as well
as your current code/attempt.

Try something like:
Me.sfrmName.SetFocus
Me.sfrmName.Form.txtWhatever.SetFocus
 
Back
Top