activate button('s sub routine) from other form

John Nelson

Registered User.
Local time
Today, 13:35
Joined
Jan 26, 2005
Messages
16
Hello, I looked around for a thread pertaining to this and couldn't find anything.

I want to take a part number given in one form, open a second form and then activate a command on that second form.

I'm able to save the part number (in a variable) and open the second form. The only problem I'm having is I can't figure out how to actually access or reference that sub routine for the command button on the second form.

Help?

Thanks.
 
try...
Forms("SecondForm").SomeButton_Click
 
That did it. Thanks a lot lagbolt!
 

Users who are viewing this thread

Back
Top Bottom