I am trying to use a checkbox in my form connected to a access 97 database using ADO.
It works until I have a record that has the box checked. Then I get run-time error '380' Invalid Property Value.
Code:
chk_Equipment = !Equipment
I have tried:
chk_Equipment = !Equipment & " "
chk_Equipment = !Equipment & -1
chk_Equipment = !Equipment & "-1"
chk_Equipment = !Equipment & 0
chk_Equipment = !Equipment & "0"
chk_Equipment = !Equipment & Yes
chk_Equipment = !Equipment & "Yes"
But I get run-time error type mismatch.
The format in access for the checkbox is Yes/No. No is default.
Any Suggestions?
It works until I have a record that has the box checked. Then I get run-time error '380' Invalid Property Value.
Code:
chk_Equipment = !Equipment
I have tried:
chk_Equipment = !Equipment & " "
chk_Equipment = !Equipment & -1
chk_Equipment = !Equipment & "-1"
chk_Equipment = !Equipment & 0
chk_Equipment = !Equipment & "0"
chk_Equipment = !Equipment & Yes
chk_Equipment = !Equipment & "Yes"
But I get run-time error type mismatch.
The format in access for the checkbox is Yes/No. No is default.
Any Suggestions?