Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01199960
Message ID:
01199963
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform