Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox - Data type mismatch
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00231982
Message ID:
00232043
Vues:
12
No, numeric values are not legal with checkboxes, only logical type. I would suggest to unbind the checkbox from the view and manually assign and save changes from the view to the checkbox.

HTH

>Hi, in a select from a remote (non-VFP) table into a local cursor I include '0 as check'. In the grid the checkbox is unchecked but as soon as it is clicked it complains bitterly of 'data type mismatch'. Debugging shows the cursor field 'check' as being numeric which I believe is a valid data type for a checkbox. Can anyone help?
>
>PS. Selecting from a VFP table using '.F. as check' works fine, unfortunately the database being used does not have logical fields/literals.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform