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

Execute event on mainform from subform

Status
Not open for further replies.

foreveryoung

Programmer
Sep 24, 2002
45
GB
This is probably really easy.

Can some kind person tell me how to exectute an event that is held on the mainform when the subform has the focus. I dont want to move off the subform
 
Make sure that the Procedure is defined as Public

Eg.
Public Sub SomeSuchEvent()


Then call it in the subForms's code
Eg.
Call SomeSuchEvent



QED.

G LS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top