General information
Category:
Coding, syntax & commands
Title:
Populating listboxes with values
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only