Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optiongroup.Controlsource = a logical field
Message
From
31/10/1997 13:07:00
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00057117
Message ID:
00057633
Views:
35
>>Consider a table of people with a logical sex field, where .T. is considered female and .F. male.
>
>Just wondering: is there a reason you *don't* want to use a numeric value? I think the issue of gender is not a boolean construct, but rather one of two equal choices. The concept is harder to understand when using a logical.
>
>Just my $.02

Agreed. The way I deal with this is make sex a 1 wide char field, and in the interface make the choice from a list box. You could even make it a two column list box Showing Male,Female and in the second (invisible and bound) column, have the M,F.
A boolean field for sex is an awkward construction that makes for awkward implementation.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform