Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lookup Combo in Grid
Message
De
05/07/2006 06:06:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Lookup Combo in Grid
Divers
Thread ID:
01133757
Message ID:
01133757
Vues:
64
Hi at all,

I have the following situation

Table name.dbf
Code c(4)
Description c(20)

Table data.dbf
xxxx c(2)
yyyy c(2)
Code c(4)


I have a grid for table data.dbf and in the column of Code I have insert a combo with following settings:

BoundColumn = 2
ColumnCount = 2
ColumnWidths = 75,0
ControlSource = table.code
RowSourceType = 6-Fields
RowSource = name.descritpion,code
Style = 2 - Dropdown List

It works fine if I set the Sparse setting of column = .f. but I want to have the combo visible only if the customer click in row, this works if I set the sparse setting to .t. but the value displayed in column is obviusly the code and not the descriprtion is there any solution or idea for this situation.

Thank you in dvance for any help.

regards
Luigi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform