Return name of button? (1 Viewer)

DT

Registered User.
Local time
Today, 07:15
Joined
Oct 23, 2000
Messages
83
I have a module that when a user clicks a button it logs the users name and time to a table. I want it also to log the name of the button. Is this possible?

Thanks,

DT
 

Fizzio

Chief Torturer
Local time
Today, 15:15
Joined
Feb 21, 2002
Messages
1,885
Yep, just refer to the button you have just pressed in the module as

Screen.ActiveControl.Name

HTH
 

DT

Registered User.
Local time
Today, 07:15
Joined
Oct 23, 2000
Messages
83
Works Great!

Thanks for the help! Works Perferct!
 

Users who are viewing this thread

Top Bottom