Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Changes its mind over Checkbox
Message
De
04/07/2006 10:25:46
 
 
À
04/07/2006 10:19:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01133547
Message ID:
01133600
Vues:
17
>>>Terry,
>>>If they're not bound to data then by default use numeric 0/1 (unless you set the value property to T/F). When bound to data then datatype decides if it's numeric or logical.
>>>Numeric 2 is for undetermined state (ie: null).
>>>Cetin
>>
>>Thanks Cetin
>>
>>Like I said, I've done this to force the checkboxes into T/F. What I wanted to know is: if they already were that by default (hence the 1st error I got), and I accommodated this in my code, then how come they managed to find themselves as 1/2 values later on.
>>
>>This problem is not beyond me, it just irks me that they can change their minds about what data trype they are.
>
>And I meant they don't have minds to change on their own:) Are you sure you didn't bind them to data or change value in between from one type to another?
>Cetin

No, they're there merely to enable or disable the combo and textbox (this is if the user wants to filter the ensuing report by selecting and operator and/or family) - not bound to anything.

Did not change their data type either.

Never mind. This is not a problem, more of an annoyance and a mystery

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform