Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subform on TabControl - Pressing tab key causes next Record

Status
Not open for further replies.

DaleDeWitt

Programmer
Oct 7, 2004
1
US
I have a main form that has 10 tab pages on it. On each tab control, I have a subform. On the particular form I have a problem with, I have all the controls on the form except one that has a tab stop = yes, the others have a tab stop = no.

The way the subforms are set up, when a user is setting up new records, they can tab thru fields as they enter data, and it continues on from one tab control to the next as you press the tab key on the subforms.

On this particular form, if a user happens to click onto a control on the form without a tab stop, when they tab off from the control, it goes to the next record for that subform, which is giving the appearance that the form is being cleared.

I am trying to figure out how to capture the event that is causing this to occur.
 
Try changing Cycle property of form to Current record
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top