Hi,
I have multiple subforms on a parent form. I want to be able to tab between the subforms, so that when the user tabs off the last control on a form they automatically go to the first control on the next subform. I’ve tried referring to the form in code but end up with an error stating “object required” when I use this code:
sfrmStudentDemographics!Gender.SetFocus
If I use forms!sfrmStudentDemographics!Gender.SetFocus
I get an error stating that sfrmstudentDemographics can’t be found. I’ve checked in properties to be sure that the sfrm name is the same as what I’ve typed and it is. When I try starting the code with me.sf…………. to see if the name comes up in the list it doesn’t come up. I’m not sure what I’m missing.
Thanks,
Leesha