Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01199960
Message ID:
01199963
Vues:
17
>I have a numeric field that may contain: 1, 2 or 3
>
>How can I do so that this field appears on a list box as:
>
>1= good
>2= bad
>3= notdefined
>
>Moises
select 0
create cursor curList (nVal I, cDescr C(15))

insert into curList values (1,"good")
insert into curList values (2, "bad")
insert into curList values (3, "undefined")

thisform.ListBox1.CountrolSource = "MyTable.Myfield"
thisform.ListBox1.RowSource = "curList"
From the top of my head and not tested.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform