Enable/Disable button from Module (1 Viewer)

ktimov1

Registered User.
Local time
Today, 08:14
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
Today, 06:14
Joined
Jan 12, 2001
Messages
32,059
Forms!YourFormNameHere.YourButtonNameHere.Enabled = False
 

Users who are viewing this thread

Top Bottom