A
Ayo
I wrote the following code hopeing to Enable a textbox "Me.[Extended Price]"
when its value is greater than 0 and disable it when its value is equal to 0.
Am I using the right Event here?
Private Sub Extended_Price_Change()
If Me.[Extended Price].Value > 0 Then
Me.[Extended Price].Enabled = True
ElseIf Me.[Extended Price].Value = 0 Then
Me.[Extended Price].Enabled = False
End If
End Sub
when its value is greater than 0 and disable it when its value is equal to 0.
Am I using the right Event here?
Private Sub Extended_Price_Change()
If Me.[Extended Price].Value > 0 Then
Me.[Extended Price].Enabled = True
ElseIf Me.[Extended Price].Value = 0 Then
Me.[Extended Price].Enabled = False
End If
End Sub