Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on Combobox please!
Message
De
20/11/1999 21:06:43
 
 
À
18/11/1999 11:08:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00290010
Message ID:
00293576
Vues:
21
Thanks Jason, I'll try your solution.

David

>If I understand your problem correctly, then you have a cursor containing several columns, one of which is the displayed name and another is the numeric key value.
>
>If you have a key value in a variable, then you don't need to try and find it yourself.
>
>Set the ConrolSource = variable_name
>Set the RowSourceType = 6 - Fields
>Set the RowSource = cursor.displayfield, keyfield
>Set the BoundColumn = 2
>Set the ColumnCount = 1
>
>This will bind to the combo the variable in such a way that setting the variable to the desired key value and refreshing the combo will display the correct name.
>
>Jason
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform