Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox.value = 0 or .F.?
Message
From
30/09/2003 21:07:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00832540
Message ID:
00833674
Views:
23
>Logic would say that you are absolutely correct but I tried recreating that checkbox (again) but still no luck. The only thing different that I know of is that the first 102 checkboxes were created at the same time. Therefore, I was able to put the names of the fields to which the checkboxes are bound in alphabetic order in the table. The errant checkbox (#103) and one other (#104) were added a couple of days later so their fields were tacked on at the end of the table structure. AFAIK, this should make no difference (although learning that I'm wrong wouldn't surprise me at this point <g>.) The other late-addition checkbox/field combination behaves properly.
>
>For now, I guess I just have to accept the fact that I must test for type before I evaluate the value. It's a pain but at least it's only one checkbox, not all 104!

Some ideas:

Compare the properties sheet for the checkboxes. Concentrate especially on non-default values, and if you find a difference, make a more detailed analysis.

If your 104 checkboxes are closely related, it might be worth-while to create a class for them.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform