Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying 2 columns
Message
From
09/01/2002 20:20:19
 
 
To
09/01/2002 16:47:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00602694
Message ID:
00602796
Views:
20
This message has been marked as the solution to the initial question of the thread.
Hello Tyler.

>> Is it possible to display 2 columns in a combo box at the same time? <<

Sort of. You can display a concatenated field in column 1 (which is where the combo's DisplayValue always comes from). What you can do is use a RowSourceType of 3-SQL and set up your RowSource Like This:

SELECT PADR( ALLTRIM( MyFirstField ) + ' ' + ALLTRIM( MySecondield ), 50 ) AS MyDisplayField, KeyValue FROM MyTable INTO CURSOR Temp

Make sure that your BoundColumn is set to 2 (in this example) and BoundTo is set to True. Set the columnCount to 1.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform