Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement