Steve,
I think the checkbox.value is returning 1 or 0 not a logical, that's why you're getting a mismatch error.
hth
>I have a grid on a form. The last column of the grid is filled with checkboxes, one checkbox per row. How come when I click on a checkbox I get the error Data Type Mismatch. I have the ControlSource of the checkbox defined as M.REPORTIT
>In my table I have a field named REPORTIT Logical 1. Is it because I am using an M.VARIABLE name in my ControlSource?
>
>I will try using TABLENAME.FIELDNAME instead and see what happens. Thanks.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!