Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query in combo box
Message
 
 
To
06/03/2006 16:01:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01101842
Message ID:
01101846
Views:
10
Add INTO CURSOR clause
... INTO CURSOR crsCombo1
>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
>
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform