Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating Grids With Text
Message
De
22/03/1999 05:30:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/03/1999 02:24:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00200368
Message ID:
00200397
Vues:
18
>I have a table with a numeric field 'status' which on forms displays to the user a text message, i.e. if the field=1, the message 'OK' is displayed, 2=Waiting, 3=Delayed etc.
>
>How do I display this associated text in a grid column so that the text messages rather than the numeric field values are displayed?
Bob,
1) Use an optiongroup or dropdown list (display text column, bound num field)control instead of textbox.
2) Make that a calculated field. ie: controlsource = iif(alias.field = 1, "OK",iif(alias.field = 2,"Waiting","Delayed"))
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform