Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying 2 columns
Message
De
09/01/2002 20:20:19
 
 
À
09/01/2002 16:47:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00602694
Message ID:
00602796
Vues:
18
This message has been marked as the solution to the initial question of the thread.
Hello Tyler.

>> Is it possible to display 2 columns in a combo box at the same time? <<

Sort of. You can display a concatenated field in column 1 (which is where the combo's DisplayValue always comes from). What you can do is use a RowSourceType of 3-SQL and set up your RowSource Like This:

SELECT PADR( ALLTRIM( MyFirstField ) + ' ' + ALLTRIM( MySecondield ), 50 ) AS MyDisplayField, KeyValue FROM MyTable INTO CURSOR Temp

Make sure that your BoundColumn is set to 2 (in this example) and BoundTo is set to True. Set the columnCount to 1.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform