Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box doesn't keep the display value selected
Message
From
04/08/1999 17:44:10
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00249881
Message ID:
00249976
Views:
22
Her you go Joe,
ComboBox.BoundTo       =.T.
ComboBox.BoundColumn   =2
ComboBox.RowSourceType =3
ComboBox.RowSource     ='select DescriptionField, ValueField from Table'
Or if you want the Value to appear next to the Description:
ComboBox.RowSource     ='select ValueField+": "+DescriptionField, ValueField from table'
Note the double quotes as opposed to single quotes.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform