Defining Tab Order Through a Form with Several Subforms

  • Thread starter Thread starter Jorge Rite
  • Start date Start date
J

Jorge Rite

Hi All,

I've got a problem with a form I have that have several sub forms scattered
about. The main form has about 3 text boxes it cycles through until it hits
the first subform. Upon completeing the last field of the subform - it goes
into either the next record of the set - or a new record.

I can bybass this if I set the subform to not allow new records - but we
want to be able to add information to the subform should none exist. Shift
tab isn't intuitive enough for the users who are going to be utilizing the
form.

I have written some on exit scripts to set focus to the appropriate
control - but I was just wondering if there happens to be a better way at
approaching this.

Thanks in Advance!
 
Jorge said:
I've got a problem with a form I have that have several sub forms scattered
about. The main form has about 3 text boxes it cycles through until it hits
the first subform. Upon completeing the last field of the subform - it goes
into either the next record of the set - or a new record.

I can bybass this if I set the subform to not allow new records - but we
want to be able to add information to the subform should none exist. Shift
tab isn't intuitive enough for the users who are going to be utilizing the
form.

I have written some on exit scripts to set focus to the appropriate
control - but I was just wondering if there happens to be a better way at
approaching this.


There really isn't a good way to automate the Shift+Tab way
of jumping bacj to the main form.

Rather than using the last control's Exit event, you might
find it easier to add a very small text box and use its
GotFocus event.
 
Back
Top