Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo on a grid
Message
From
21/08/1998 13:25:49
 
 
To
21/08/1998 13:21:52
Eduardo Porcel
Grupo Ipsofakto, S.A. de C.V.
Mexico City, Mexico
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00128846
Message ID:
00128847
Views:
30
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform