Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox in the Grid
Message
De
25/10/1999 03:51:07
 
 
À
24/10/1999 13:16:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00280601
Message ID:
00280871
Vues:
11
>> i want to manipulate the data in a grid column by a combo
box.
What do i have to take into account? <<

Personally, I think that setting Sparse = .F. for the column that contains the combo box looks cluttered and busy. What I generally do is create either a local view or an updateable cursor that contains both the foreign key value from the lookup table (presumably the value you want to bind to) as well as it's description to use as the RowSource for the grid. I then bind the column that contains the combo to the description and put some code in the combo's Valid to update the foreign key field in the grid's recordSource.

This technique works quite well for me.

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform