Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating a Combo with an SQL statement
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00208027
Message ID:
00208035
Views:
28
>I'm trying to populate a combo box with an sql command (RowSourceType=3)
>
>Here is what i'm putting in the RowSource:
>
>Select functions.function from functions where type="S" into cursor ComboString
>
>the combo always comes up empty!
>
>any ideas?
>
>
>thanks in advance for your sage advice!
>
>scott

Firstly, you may issue Combo.Requery to make sure that rowsource content went to the combo.
Another thing that you may get better behaving combo by not using RowSourceType=3. Anyway, you create a cursor, so you may use this cursor alias as rowsource.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform