hi all
i have two text boxes, TxtOpenStatus and TxtUnitStatus
when the TxtOpenStatus is 0 the TxtUnit Status should display "Serviceable" and if its 1 or above, then it should display "Out Of Service"
heres what ive got so far but it doesnt work, any advies would be appreciated
i have two text boxes, TxtOpenStatus and TxtUnitStatus
when the TxtOpenStatus is 0 the TxtUnit Status should display "Serviceable" and if its 1 or above, then it should display "Out Of Service"
heres what ive got so far but it doesnt work, any advies would be appreciated
Code:
Private Sub TxtUnitStatus_Change()
If Me.TxtOpenStatus = 1 Then
Me.TxtUnitStatus = "Out Of Service"
Else
Me.TxtUnitStatus = "Serviceable"
End If
End Sub