Full name
David Dow
Submitted by David on Mon, 01/16/2012 - 00:00
Forums

Can the drop down lists have multiple columns?

Claus Rytter Larsen

Mon, 01/16/2012 - 00:00

You can concat several fields as value in the sql statement, like:

sqlCmd = ('+                                    

  select +                                      

   cunum  as key, +                             

   char(cunum) concat cuname as value +         

  from customer +                               

  where lower(cuname) like lower(''%:query%'') +

'); 

But it will not look nice, because there is no styling. The best looking result will be creating a new javascript class, just like DDSEARCH and DDSQL, but with several columns, and styled using css. I can help you with this.