Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query in combo box
Message
From
06/03/2006 16:01:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Query in combo box
Miscellaneous
Thread ID:
01101842
Message ID:
01101842
Views:
41
What is the correct way to programmatically set the source of a combobox if the source is to be a sql select statement?
I have
thisform.cboStreet.RowSourceType = 3
thisform.cboStreet.RowSource = 'select distinct st_name from linkfile order by st_name'
but this produces a browse when the SELECT fires. Should it be selected into a cursor instead and use the ALIAS as the rowsource?

Thanks


Next
Reply
Map
View

Click here to load this message in the networking platform