Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in grid causing error when clicked
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615762
Message ID:
00615787
Views:
20
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform