system
September 22, 2010, 7:08pm
2
Hi,
Which BO version do you use? There are optional prompts in BO XI 3.
If you use lower version then explore the “ALL in LOV” concept. In few words, not entering any value in a prompt is the same as using the value ALL which is transformed behind the scenes into a condition that is always true (ALL=ALL):
Is there any way to set up a prompt that will allow a user to select one value, many values, or type ‘ALL’ for all values in a list?
Yes. Below is a sample of the syntax required to allow a user to select one, many, or all values from a prompt.
(@Select(Sales Geography\Country Group) IN @Prompt('Select Country Group or
enter * for all groups','a','Sales Geography\Country Group',multi,free) ) OR
('*' in @Prompt('Select Country Group or enter * for all groups','a','Sales
Geography\Co…
Now that my LOV lets me use ALL for all values, how do I get the ALL in the list?
Author: Dwayne Hoffpauir
There are two approaches - overriding the LOV SQL, and creating a universe object.
Overriding the LOV SQL
Press the SQL button in the query panel of the LOV
Add the phrase UNION SELECT ‘ALL’ FROM DUAL or similar dummy table for your particular database. For SQL Server (if you don’t care if the object parses or not) add SELECT xx From xx UNION SELECT ‘ALL’ (You don’t need a FRO…
Marek Chladny (BOB member since 2003-11-27)