Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating listboxes with values
Message
From
21/05/1998 00:46:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Populating listboxes with values
Miscellaneous
Thread ID:
00100714
Message ID:
00100714
Views:
64
I am using VFP 3

I am trying to populate a listbox by value. According to the manual you can populate the listbox with mutiple values on multiple rows. I want to populate the listbox with two field values:

SSN1 on the first column and LAST on the second column

this is my code:

thisform.list1.rowsource = thisform.SSN1.value, thisform.LAST.value

I get a syntax error when doing this

so I put quotes around the values and then it just populates the list if the thisform.SSN1.value was just text.

Any suggestions?

Thanks,
-Bob
Next
Reply
Map
View

Click here to load this message in the networking platform