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

Form Calling

Status
Not open for further replies.

mans

Programmer
Joined
Mar 18, 2000
Messages
136
Location
AU
Hello,

I am using VB6 with Access2000. I have a strange situation where at run time, each time I show a particular form (Form1) from the main menu, it automatically calls another form (Form2) which has the focus (both forms are open simultaneously). I have over 60 forms and this is the only form that has this problem. There is nothing in the code in Form1 which calls Form2 nor can I find anything significant in the properties section. Can somebody please let me know what I may have missed or done inadvertently.

Thank You
 
What is the code you are using to show form1, and what code do you have on form1?? If you post these, maybe I can spot something.

If you do not want to do this, break the program on the menu item that loads form1 and then step through the code (by pressing F8) until form2 loads - this should tell you why this is happening.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top