Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox properties
Message
 
To
09/10/2010 10:25:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01484566
Message ID:
01484581
Views:
58
Hi Tamar. Thanks for replying.
It was the Column Widths 'bit' that I was missing...did'nt realise you could do this. Working fine now

Regards,
Gerard


>>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
Reply
Map
View

Click here to load this message in the networking platform