View Full Version : Is it possible to make two events run the same sub routine?


morlan
06-17-2003, 02:39 AM
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.

Mile-O
06-17-2003, 02:51 AM
Like this:

Private Sub cmdGo_Click()
Call txtInfo_Click
End Sub