I created a dynamic LOV and I will like to add 'ALL' to it, so the user can pick one, many or 'ALL' projects.
Any idea of how to do it?
Also, how do i get rid of the commas in my project (numeric field0 when they select from my LOV?
Thanks.
Ivan.
I don't follow what adding the ellipsis does. I also was unable to get the command to work correctly when making it a "union all" instead of a "union". So I'm not sure what safety aspect you are referencing.
I know the difference between a union and union all, but have found that in this situation (where only a hard value is used on one side of the union, i.e., "All"), a union all returns only the "All" while a union will return "All" plus the values from the other side of the union.
Makes no sense to me, LB, and I do this often (in command objects.
I'mworking on an Ants database and even it supportsit:
SELECT '...All' USER_NAME FROM "INFORMATION_SCHEMA"."ANTS_ALL_USERS" "ANTS_ALL_USERS"
UNION ALL
SELECT "ANTS_ALL_USERS"."USER_NAME"
FROM "INFORMATION_SCHEMA"."ANTS_ALL_USERS" "ANTS_ALL_USERS"
The Ellipses then purdy much guarantee first placement in the list.
Not sure why you have different results, obviously SQL should perform as I've indicated.
Perhaps it's a LOV thang... Note that I avoid tproprietary database layers and have as little experience as is possible with Universes, LOVs, etc...
Select 'All'
From Orders
Union All
Select Orders.`Ship Via`
From Orders
Then use this to populate a dynamic LOV. Only the "All" will appear in the LOV when you refresh the report. If you change it to "Union" instead of "Union All", all shipper values and "All" appear in the dynamic LOV.
This is all very helpful except that I already have used a command as the source of my report. When I attempt to write a 2nd command that would be the source of my parameter list the Database Expert sends up a second dialog box asking me to link the command statements together.
Do not link the commands. Just ignore the message. Be sure that you only reference the second command when setting up the dynamic list of values--do not reference it in the body of your report.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.