I am trying to use a database binding for my drop down but I am struggling having ingnition choose the 'correct' column as my options. My databases that I am binding it to select statement is:
select rank, concat(loc, ' ', qty)
the problem is that it is only using rank as the value and options. When I switch the order so that rank is after the concat in the select it uses rank as the option and the concat as the value. Ideally I would want the rank to order the dropdown, the concat as the option, and then another attribute as the value.
Is there any way that I can do this and specify which element in the query I to use in the drop down.
One last unrelated question but is there a way to add a custom option to the database bind through a perspective method or is best way to just have a script
So I know that it will be help but then add that custom to the binded database permanent would be best done through a script. Just don't want to be overlooking anything that ignition has made that makes this super simple.