|
|
Question : CFSELECT Display Problems
|
|
I'm trying to create a CFSELECT box and I'm having problems displaying the query data that I want. Specifically, in the documentation for the tag it states that you should use the DISPLAY parameter to specify the name of a query column to use for display purposes. That's fine but I want to be able to use 2 or more query columns in the display space of each select item. I would think that common sense would have you input in a delimited list of query columns to use for the display but perhaps this is wishful thinking on my part as whenever I try this it complains that it can't find the query column. Below is some example code:
SELECT Item_Number, Item_Name, Manufacturer FROM Item WHERE Blah, blah, blah
If I were to change the above cfselect to have display="Item_Name" then it would work fine but it doesn't seem to work with more than one column. There's got to be a solution for this, anyone have any thoughts or hints?
Thanks in advance.
|
Answer : CFSELECT Display Problems
|
|
SELECT Item_Number, Item_Name + ' - ' + Manufacturer as Desc FROM Item WHERE Blah, blah, blah
Mike
|
|
|
|
|