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

Event between 2 forms

Status
Not open for further replies.

JustinLeung

Programmer
Mar 27, 2001
10
0
0
HK
Hi all :

I have two forms named AForm & BForm, each form has a button name AForm->A1 and BFrom->B1, How can i trigger the B1 click event when I clicking the A1 button in Afrom ??

Thx all of your comment and suggestion!! Thx a lot !!

Justin
 
Justin,

You will not be able to execute the code behind the button on the second form. However, just place the code behind the second form on the OPEN event. Then, when you run the code which opens the second form, the B1 routine will execute automatically.

Harpz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top