check boxes

Guarnier
01-26-2004, 09:34 AM
i have several check boxes on a form linked to a table ....the fields are saved as boolean. when i try and link my table to the check box using adodc (using a loop to search for certain criteria) it says i have an invalid property value. when i debug it says that the check box = 0 and the fields = false ....do i need to get the two into the same format for it to work...HELP PLEASE!

John
01-26-2004, 09:37 AM
A checkbox is not a boolean, it is an integer. There are 3 possible states for a checkbox. From MSDN:
CheckBox control — 0 is Unchecked (default), 1 is Checked, and 2 is Grayed (dimmed).

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum