Command Button Enabled

G

Gus Chuch

Is there a easy way to set a Command button to be disenabled once it has been
clicked on and keep it that way until a text box or combo box has been
updated? I can set the cmButton.enabled = False. But how would you keep it
like that till the text box is updated?
 
O

Ofer Cohen

On the After Update event of the text box you can set the button enabled state

Me.[ButtonNAme].Enabled = Not IsNull(Me.[TextBoxName])
 
Top