Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Populating a Combo with an SQL statement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00208027
Message ID:
00208035
Vues:
27
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform