Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox inside GridBox
Message
De
13/09/1999 05:26:38
 
 
À
11/09/1999 22:31:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00263740
Message ID:
00263901
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform