theConjurian
IS-IT--Management
In a post in October, 2001, MangroBongacello wrote ...
First make the event procedure you want to call public (replace the word Private with Public).
Then in your general module write:
dim x as New Form_YourFormName
x.cmdOpen_Click
I have been trying to apply this to a project I am working on, and seem to be missing something. The form that contains the procedure that I want to run is called Event Details (2 words with a space in between). I just can't seem to get the syntax right for the dim statement.
Dim eventForm As New Form_Event Details
If I understand this correctly, when I execute
eventForm.calculateTotalFee
in form A, the function in form B (Event Details) will fire and apply itself to that form (form B)?
Thanks
First make the event procedure you want to call public (replace the word Private with Public).
Then in your general module write:
dim x as New Form_YourFormName
x.cmdOpen_Click
I have been trying to apply this to a project I am working on, and seem to be missing something. The form that contains the procedure that I want to run is called Event Details (2 words with a space in between). I just can't seem to get the syntax right for the dim statement.
Dim eventForm As New Form_Event Details
If I understand this correctly, when I execute
eventForm.calculateTotalFee
in form A, the function in form B (Event Details) will fire and apply itself to that form (form B)?
Thanks