Hi,
I have a dropdown component which has a query as the binding type. The return format is set to auto.
This is my named query:
SELECT 0, '<Select One>'
UNION
SELECT IssueId, IssueName FROM vwIssueToPrint
This query is working well, I can see that it creates a table 6x2. Everything seems to be fine. But the problem is that the dropdown is not showing the labels, which are in the column 2, but it's showing the values in the column 1.
I have this same project in vision, using this same query, and there it works fine. But in perspective I have this issue.
What could be the reason for this?
Thanks.
Perspective doesn't use two columns. I recommend you bind that dataset to custom property (to maintain correspondance between IssueId and IssueName), then bind the dropdown's options to the dataset property with a transform that delivers just the names.