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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Opening when Tab Key is pressed.

Status
Not open for further replies.

Ascentient

IS-IT--Management
Nov 4, 2002
267
I have a VBA Access program that contains 1 control form which allows the user to open up half a dozen other forms when a command button is pressed.

Each form is opened from the control form with a docmd.openform statement and then is closed from an exit button with a docmd.close statement.

On one form I have two check boxes that are enabled when it loads. When either one is clicked it enables and sets focus to a combo box next to it. After I key in some data in the combo box and press the TAB key it pulls me into a form that has no relation to this form. I cannot figure out how it is even opening this form.

It also does this from a compiled MDE.

Any thoughts or suggestion would be helpful.

Ascent
 
check all the events of the combo.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks PHV. I read my code a little more thoroughly this morning and found that I was referencing a control that particular closed form. I corrected and tested and it works like it is suppose to.

Thanks,

Ascent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top