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
 
Back
Top