General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only