Is it possible to make two events run the same sub routine?

morlan

Registered User.
Local time
Today, 06:51
Joined
Apr 23, 2003
Messages
143
Is it possible to make two events run the same sub routine?

eg. Private Sub cmdGo_Click(), txtInfo_Click

So if you click the cmdGo button or the cmdInfo button access would run the same routine.
 
Like this:

Code:
Private Sub cmdGo_Click()
    Call txtInfo_Click 
End Sub
 

Users who are viewing this thread

Back
Top Bottom