Good morning folks. I have a table of users, tblAuthorizedUsers. In the table I have a text field, LogOn and a checkbox, ApdCCD. I have a main form, and on that form I have a command button, for approval, and in the procedure I am try to run a validity test to see if the checkbox, for the LogOn user, is false or not. When I click the command button I get the following message:
Data Type Mismatch in criteria expression.
Here is the code:
If DCount("[LogOn]", "tblAuthorizedUsers", "[ApdCCD]='False'"
= 0 Then
Can anyone see what is wrong with this line? Thank you in advance for any assistance.
Data Type Mismatch in criteria expression.
Here is the code:
If DCount("[LogOn]", "tblAuthorizedUsers", "[ApdCCD]='False'"
Can anyone see what is wrong with this line? Thank you in advance for any assistance.