Strange Mainform/Subform Tab Behavior

J

J-Hou

I have a bound mainform with the cycle property set to 'Current Record'.
This mainform also has a bound subform with the cycle property set to
'Current Record'. Both the mainform and subform have the DataEntry property
set to 'Yes'.

The basic function of the form is to data enter new information and also be
able to search for existing information to make changes if needed, which
works with no problems.

The issue is with tabbing. If i search for an existing record, then tab
through all the controls (Mainform and subform), the cursor returns to the
control with a tab index of 0 on mainform, which is all correct. However, if
i click on a textbox control in the subform and hit tab, the cursor jumps
back to the mainform control that has a tab index of 1. I then click back on
the same subform control, hit tab, and the cursor jumps back to the mainform
control with a tab index of 2.

I have triple checked the tab order on my mainform and subform and everything
is correct. I do not have any events behind the subform controls.

If would be greatly appreciated if someone could shed some light on this
issue.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top