A
Aino
I have a variant of the classic question of how to go from a subform
to the main form using the tab key. Here is the twist:
My subform must always have exactly 5 records, so whenever a new
record is created in the main form, I create the 5 new records in the
subforms table with code, hence it must be possible to add records.
The subform is continuous and with all the settings to make the user
unaware, that the whole thing is not just one form. The subform has no
navigation buttons, no scroll etc. and is just big enough to
accomedate 5 rows. When tabbing through the form, the user would enter
the subform and tab through each control in each row (record).
When pressing the tab key in the last control (a textbox) in the last
record the user should enter the next control after the subform. Right
now what happens is, a new 6th record is added, and my subform is
scrolled down to show this.
Any ideas?
Thanks
Aino
to the main form using the tab key. Here is the twist:
My subform must always have exactly 5 records, so whenever a new
record is created in the main form, I create the 5 new records in the
subforms table with code, hence it must be possible to add records.
The subform is continuous and with all the settings to make the user
unaware, that the whole thing is not just one form. The subform has no
navigation buttons, no scroll etc. and is just big enough to
accomedate 5 rows. When tabbing through the form, the user would enter
the subform and tab through each control in each row (record).
When pressing the tab key in the last control (a textbox) in the last
record the user should enter the next control after the subform. Right
now what happens is, a new 6th record is added, and my subform is
scrolled down to show this.
Any ideas?
Thanks
Aino