Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box
Message
De
13/11/2002 14:40:49
 
 
À
13/11/2002 14:32:15
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00722306
Message ID:
00722314
Vues:
19
You could easily change the order of the fields in your view and set the 'BoundColumn' to 2 instead of 1. That would get you cWorkOrderNo displayed, and the cLineCode field would still be the bound field.

The other is IMHO, messy. You'd need to show it the same way in the dropdown. In other words, you'd have a view with an expression as your first column (cLineCode + cWorkOrderNo) and cLineCode as column 2. As above, you bind column 2.

Alan

>A combo box I created has it's "RecordsourceType" set to "2-Alias", and the "RowSource" set to "lvWeighStation", where "lvWeighStation" is a local view, which gets the "clinecode" and the "cworkorderno" (in that order) from two differnet tables.
>
>When I select from ComboBox, the "clinecode" is used as the "DisplayValue/Value" of the box.
>
>I wish that the second column, "cworkorderno", be displayed as the "DisplayValue/Value", or better yet the "clinecode" along with the "cworkorderno" (column 1 & column2).
>
>Is this possible?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform