Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Box Row Sources
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
List Box Row Sources
Miscellaneous
Thread ID:
00810986
Message ID:
00810986
Views:
45
Good Morning

I have the following code which populates a list box using an SQL statement named List1:
WITH main.list1
 .RowSourcetype = 3
 .Rowsource = 'SELECT mainkey FROM ("U:\Data\modacad.dbf")'+;
              'WHERE &lcdesign order BY mainkey into cursor result'
 .ColumnCount = 1
ENDWITH
What I would like to do is to copy the contents of list1 into another list box named list2. I do not want to populate the list2 listbox with the SQL statement. I basically would like to know how to set the list box 2 rowsource to the contents of the list box 1 (List1)

Many Thanks
Neil Lewis
IT R&D Manager
Velmore Ltd
Next
Reply
Map
View

Click here to load this message in the networking platform