Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use Optiongroup with logical data?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01187180
Message ID:
01187183
Vues:
20
One possibility is to use the click event for each of the buttons to set a variable or field appropriately and then set the value of the optiongroup.

>A client wants an Optiongroup with Yes and No as choices for a logical field (bit datatype in SQL.) It seemed a reasonable request but now I'm not so sure that it's even possible. If so, what's the trick?
>
>The Optiongroup itself doesn't accept logical data but the Optionbuttons do. If you can't specify the field as the controlsource for the Optiongroup, how are the buttons supposed refresh properly and update the field. This must be incredibly simple but it eludes me at the moment.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform