I have a form that has a field called HM. HM is either going to be a number or an X. I have a combo box that is set to yes or no. I want to disable the combo if HM = X and enable it if Isnumber(HM).
Private Sub HM_AfterUpdate()
If IsNumeric(Me.HM) Then
Me.ComboName.Enabled = True
Else
Me.ComboName.Enabled = False
End If
End Sub
________________________________________________________________________
Zameer Abdulla Visit Me No two children are alike - particularly if one is yours and the other isn't.
Try mys solution with OnCurrent Event of the form.
________________________________________________________________________
Zameer Abdulla Visit Me No two children are alike - particularly if one is yours and the other isn't.
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.