Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Changes its mind over Checkbox
Message
From
04/07/2006 10:25:46
 
 
To
04/07/2006 10:19:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01133547
Message ID:
01133600
Views:
16
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform