Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in grid causing error when clicked
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00615762
Message ID:
00615787
Vues:
21
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform