Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo on a grid
Message
De
21/08/1998 13:25:49
 
 
À
21/08/1998 13:21:52
Eduardo Porcel
Grupo Ipsofakto, S.A. de C.V.
Mexico City, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00128846
Message ID:
00128847
Vues:
29
Hi Eduardo ---

Make the Combo two columns. Make Combobox column 1 idarticle and make the ComboBox BoundColumn = 1. Make combobox column 2 article. Leave ControlSource the same. Now, make ComboBox ColumnWidths 0,230 or replace 230 with Width of Grid Column - 10. Now you'll see "article" but be bound to the id.


>I have a grid and one of its columns have a combo to select one article.
>
>To chose the value i did an SQL search whith this code
>Select article,idarticle from aticles order by idarticle into cursor Carticle. And then i add idarticle to other table.
>
>
>Every thing works fine at that point but i want to view the name of the article instead of the id on the combo.
>
>My control source is idarticle in the combo
>
>TIA
>-eduardo
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform