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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top