I would like to to able to enable or disable a command button which is next to a text box, only when the text field's value is changed. This text box is a combo box with a value list.
Can anyone please help with the VB code?
You could try the following in the After Update of the specific field.
Private Sub Account___AfterUpdate()
If Nz(Me![NameofTextbox]) = "" Then
Me![NameofControl].Visible = False
Else
Me![NameofControl].Visible = True
End If
This concept should give you a good idea what to do.
HTH
An investment in knowledge always pays the best dividends. by Benjamin Franklin
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.