Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox inside GridBox
Message
From
13/09/1999 05:26:38
 
 
To
11/09/1999 22:31:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00263740
Message ID:
00263901
Views:
26
Hi Jorge.

>> How do you use a combobox inside a grid specifically when you display a description but want to save the code corresponding to that description in the other table. <<

While Evan's solution will work, personally, I think that setting sparse to false makes the grid look cluttered and busy. What I generally do is create a local view of the grid's recordSource that includes both the description and the code and use that as the grid's recordSource. Then I bind the grid column to the description, and in the combo's valid, update the code from the combo's valid.

It's a little more work, but I think it looks more professional if the combo only appears in the column when that cell has focus.

Just mu $.02

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform