General information
Category:
Coding, syntax & commands
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only