E
ExcelMan
I have a nested datasheet subform (actually nested 3 layers deep) that
the user enters data into. The user tabs or hits enter to move from
field to field. When the user gets to the last field in the subform
and hits ENTER or TAB the focus pops out to the grandparent form.
I have the Cycle property for the subform set to Current Record. It is
also set to Current Record in the Parent and GrandParent forms.
When the user hits TAB or ENTER in the subform I want the focus to go
to the next record in the subform. This may often be a new record.
Most of my efforts thusfar have centered around trying to set the focus
to the first control on the subform after the last one is updated, but
this doesn't seem to work. I either get crashes or it still pops out
to the grandparent form.
So, How do I keep the focus in the subform, moving to the next record,
new or existing, when the user hits TAB or ENTER after having TABBED
to, ENTERED to, or updated the last control?
Thanks in advance for your help.
the user enters data into. The user tabs or hits enter to move from
field to field. When the user gets to the last field in the subform
and hits ENTER or TAB the focus pops out to the grandparent form.
I have the Cycle property for the subform set to Current Record. It is
also set to Current Record in the Parent and GrandParent forms.
When the user hits TAB or ENTER in the subform I want the focus to go
to the next record in the subform. This may often be a new record.
Most of my efforts thusfar have centered around trying to set the focus
to the first control on the subform after the last one is updated, but
this doesn't seem to work. I either get crashes or it still pops out
to the grandparent form.
So, How do I keep the focus in the subform, moving to the next record,
new or existing, when the user hits TAB or ENTER after having TABBED
to, ENTERED to, or updated the last control?
Thanks in advance for your help.