Enable/Disable button from Module (1 Viewer)

ktimov1

Registered User.
Local time
Yesterday, 22:16
Joined
May 18, 2010
Messages
19
I know "Me.btnMain.Enabled = False" will work in the form that the button is in. However, what code can I use to enable/disable a button on another form from a module?
 

boblarson

Smeghead
Local time
Yesterday, 20:16
Joined
Jan 12, 2001
Messages
32,059
Forms!YourFormNameHere.YourButtonNameHere.Enabled = False
 

Users who are viewing this thread

Top Bottom