Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox properties
Message
From
09/10/2010 10:25:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01484566
Message ID:
01484572
Views:
52
>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
Map
View

Click here to load this message in the networking platform