Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox.value = 0 or .F.?
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00832540
Message ID:
00832543
Views:
18
>A form has over 100 checkboxes on a single page of a pageframe. They are identical except for the top, left, name and caption properties. They are all bound to logical fields at runtime. All except one have the value property evaluate to 0 or 1; the odd one evalutes as .t. or .f. I can't figure out what is different about this one. What am I missing? According to the help file, .f. isn't even a possible value for this property...

Hi Lynda,

The help doesn't tell whole truth in this case. A checkbox can be bound either to numeric/integer (allowed values're 0,1,2) or logical (allowed values're .T., .F., Null) field/variable. Check controlsource of the checkbox in question.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform