troubleshooting Question

Unable to disable and enable form controls

Avatar of Evert Jor
Evert JorFlag for Norway asked on
Microsoft OfficeMicrosoft AccessMicrosoft Applications
7 Comments1 Solution410 ViewsLast Modified:
I have an unbound textbox which is updated with data from another control.
I also have a button that I need to disable when data is updated in the textbox.

I'm able to do that with an on event procedure. As it is now I have to click the texbox with the updated data in order for the button to be disabled.

How do I go about disabling the button when the textbox is updated?
I've tried the "On dirty"-event, but that doesn't work and "On Change"-event but that doesn't work.

I'm using Access 2010. Any advice? Do I have to do something specific in VBA to get this to work? I just use controlname.enabled = False.
Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros