Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating List Box from Table
Message
From
24/10/2001 06:11:15
 
 
To
24/10/2001 06:05:58
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00572474
Message ID:
00572483
Views:
38
Hi!

Just use fields, but with another alias:
RowSource = consList.cons_no,name

Anyway, see my other answer - listbox is slow with large number of rows...

>Hi
>
>If I use the sql statement as you have suggested then I have one doubt.
>
>I am putting sql statement in the load event
>
>Select cons_no, name from consumer where natur_code = "4" and !empty(ctaout_dt) and !empty(tvout_dt) into cursor consList
>
>How should I specify consList in the List Box ?
>If I give recordsource as consList and if I have RowsourceType as : 2- Alias then I don't get anything in the list box.
>
>
>Pl. Help.
>
>Thanks in Advance
>
>Ashish Patel
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform