Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Boxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00236835
Message ID:
00237133
Vues:
17
>Hi Marcia
>
>>I think that you have been led off in the wrong direction. What did your combos display?
>
>I missed one bit of information. The combo displays name information while the data which is stored is the record id. Since the data in the bound column doesn't match the info in the first column it doesn't seem to know what to display.
>
>Sarah
Hi Sarah.

What I generally do when I use combos in grids, is set the grid's RecordSource up as a local view and bind the grid's column to the descriptive field. If it is a data entry grid, in the valid of the combo, I replace the FK value in the grid's recordSource with the PK value of the combo's RowSource. Of cource, the bound column for the combo is then the descriptive field in its RowSource and not the key.

I hope this helps.

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform