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:
00832878
Views:
25
>All of the checkboxes are bound to logical fields containing .f. in a method called from the init of the form. At the conclusion of the init, 103 of them evaluate to 0 and one to .f. It just isn't "logical" <g>

FWIW, I always check my checkboxes values in code with IF EMPTY(mycheckbox.value), so it does not matter at all what whether it is logical or numeric. (BTW, I do not use NULL values for checkboxes - never had to.)
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform