Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox properties
Message
De
09/10/2010 10:25:22
Tamar Granor (En ligne)
Tomorrow's Solutions, Llc
Elkins Park, Pennsylvanie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01484566
Message ID:
01484572
Vues:
53
>I am having difficulty with the various properies of a ComboBox.
>I have a combobox,based on a Sql Select statement whcih returns two Columns, Code and Desc
>I want to Display just the Desc column
>I want the Code to be returmed into the Value Property (but not displayed in the Combo)
>
>I have tried various combinations of the ComboBox properties but dont seem to be able to get this to work.
>
>What proerites should I have set to accomplish this.

RowSourceType = 6-Fields
RowSource = Alias.Desc, Code
BoundColumn = 2
BoundTo = .T. (if Code is numeric)
ColumnCount = 2
ColumnWidths = n, 0 where n is large enough to show Desc

I think that's all you need.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform