subforms within other subforms

  • Thread starter Thread starter Jesseroh
  • Start date Start date
J

Jesseroh

Guest
I need to be able to set the focus to a subform within another subform and
Forms!Item Editing!Subform2!Subform3.SetFocus
does not seem to work. What am I doing wrong?
 
Use this:

Forms.ControlName.Form.ControlNameInSubform.Form.ControlNameInSubform2.SetFocus

That's because you can only reach elements in subforms by addressing them as NameOfControlInParentForm.Form.NameOfCertainControlInSubform

Hope this helps
 

Users who are viewing this thread

Back
Top Bottom