Call command on a diferent form

Matrix_zero

Registered User.
Local time
Today, 00:15
Joined
Jan 26, 2005
Messages
64
What code would i use to say:

on click
goto the form "datalookup" (which is already open)
and run command "cmdupdate_click" (which is a private sub on that form).

do i have to change it to a public sub? or can i just run it? what code would i use?
 
Last edited:
Yes, you need to change it to a public sub, then call it with

forms("datalookup").cmdupdate_click
 

Users who are viewing this thread

Back
Top Bottom