How To activate a subform

  • Thread starter Thread starter moishek
  • Start date Start date
M

moishek

How can activate and move the cursor to a sub form, after verifying
data in the main form?
I tried Forms!mainform!SubForm!customer.SetFocus and the field gets
highlighted but the cursor remains in the main form

Can any one HELP ME PLEASE???

Thanks
 
Try:
me.subFormName.Form.SetFocus
Me.subFormName.Form!subFormControlName.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