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 18:05:24
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00249881
Message ID:
00249982
Views:
23
Joe-

Are you saying the control is bound to a controsource? If so, then you should be able to do something like "SELECT A+B AS C, A FROM [ETC]". Set the combo's row width to "200,0" or whatever, then set the boundcolumn to 2.

>I found what was causing the problem. My SQL statement was Select A + B as C, so that the combobox will show the value A and the description B. However, the resulting C is larger than the control source which is only wide enough for A. This was causing the display value for the combobox to be empty. It works OK if my SQL statement is Select A by itself.
Previous
Reply
Map
View

Click here to load this message in the networking platform