I have an Access form with a command button and a textbox. The button is disabled when the form starts.
I want to enable it when the user enters text and disable it when user removes text.
I want code similar to if txt = "" then button.enabled = false else button enabled = true
. I tried that code, but it didn't work.