Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox value
Message
 
À
22/11/1999 15:56:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00294054
Message ID:
00294071
Vues:
24
>>>My problem is, after the first person is entered, the checkbox.value equals .T. or .F., which blows up the code (operand/operator type mismatch).
>>
>>Hi Amanda, try putting .F. in the value of the Checkbox at design time. Does this help?
>
>That worked! Thanks! Do you know why it would switch like that though? I've never had that happen with my other stuff. Just on this form.
>
>Thanks again!

Just to add: I always handle the checkbox value with using EMPTY(myCheckbox.Value) function. This way I don't care if it is numeric or logical.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform