R
radink
I have a check box and a text box. I want to disable the text box if
the check box is not checked.
Im using:
If Me![MBE].Value = "-1" Then
Me![RegNum].Enabled = True
Else
Me![RegNum].Enabled = False
End If
I put this in both the code for the form current and the check box.
When i switch back to the standard entry view, I get the error:
Run-Time Error 438
Object doesn't support this property or method.
When I debug, the line:
Me![RegNum].Enabled = False
is highlighted.
Im lost as to why it's not working.
Thanks!
the check box is not checked.
Im using:
If Me![MBE].Value = "-1" Then
Me![RegNum].Enabled = True
Else
Me![RegNum].Enabled = False
End If
I put this in both the code for the form current and the check box.
When i switch back to the standard entry view, I get the error:
Run-Time Error 438
Object doesn't support this property or method.
When I debug, the line:
Me![RegNum].Enabled = False
is highlighted.
Im lost as to why it's not working.
Thanks!