BusinessObjects Board

Adding ALL in object lov

I have an object Area in universe i am using this in report, here i want to add ALL so that if i select ALL in prompt all values of area should come in report.
How can implement this at universe level?
Please help me


irajeshkr (BOB member since 2009-02-05)

You can modify the SQL statement that generates the LOV.
For your [Area] object in Designer:
Go to the Properties tab --> Click Edit
Click the SQL button
Add a UNION ALL statement

For example:


SELECT Area
FROM Areas_Table
UNION ALL
SELECT 'ALL' 

This will add the ‘ALL’ option to the LOV along w/the list of Areas.

Now create a predefined condition that prompts the user, using the modified object that you just created:

–pseudocode
@Select(Area) IN @Prompt(Area Prompt) OR ‘ALL’ IN @Prompt(Area Prompt)
Add this condition to your query and you should be good to go.


jresendez :mexico: (BOB member since 2004-05-03)

[Moderator Note: Moved from General Discussion to Semantic Layer / Universe Designer]


Marek Chladny :slovakia: (BOB member since 2003-11-27)

Thanks for your suggestion, But can you please little moew explain this step
@Select(Area) IN @Prompt(Area Prompt) OR ‘ALL’ IN @Prompt(Area Prompt)
because when i am creating this formula it is giving error.
Let me tell you my approach.
First i created an object EST_Area as you mention and then i am trying to use here @Select(Estimate \EST_Area) but this is giving error after parsing.


irajeshkr (BOB member since 2009-02-05)

Designer’s FAQs:


Marek Chladny :slovakia: (BOB member since 2003-11-27)

Please see attachment for problem description and screen shots.
Thanks, Maineman
LOVpromptALL.doc (134.0 KB)


maineman65 (BOB member since 2007-02-14)

My description left a little to be desired. It’s in the attachment. Basically, I can’t get the ALL option for LOV to work.
Thanks, Maineman


maineman65 (BOB member since 2007-02-14)