Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox in Grid column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00499331
Message ID:
00499355
Vues:
15
Barbara,

What are the <> doing for you in this example?

>IIF( SEEK( < Table.ForeignKeyField >, '< LookUpTable >', '< KeyField >' ), < LookUpTable.Description >, '' )
>
>Set the controlSource of your combo in the column to the Keyfield in your lookup table.
>
>Even though using the conditional expression for the column's ControlSource has the effect of making the column read only, you can still change the value in the drop down list.
>
>The reason for this is that ReadOnly applies only to the portion of a control that accepts text. Since a dropdown list does not accept text, you can still select a new value.
>
>This works great.
>
>HTH
>Barbara
>
>
>>I have a grid, and in one of the columns I removed the textbox anf\d put in a combobox.
>>
>>The RecordSource is a two dimensional array.
>>1) C(1) the value (stored in the recode)
>>2) C(15) a description.
>>
>>I would like the description should display,
>>but the one character code should be saved to the record.
>>I'm having trouble getting the description to display.
>>What do my settings have to be?
>>
>>Any help would be appreciated,
>>Thanks,
>>Shlomo.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform