BusinessObjects Board

Optional prompts

Hello All,
I have a report with 3 prompts on Dname,Location,Ename.
These prompts are optional.It should be dispaly if I select any prompt 2 or 3 prompts.
Can you please suggest the way.


Kala Bhairava :us: (BOB member since 2009-10-07)

It’s not clear what you need. Optional prompts can be set in the query of Web-I XI 3.x, but in Desk-I what you can do is to include ‘ALL’. Search for ‘ALL’ in B :mrgreen: B, if this is what you need.


Jansi :india: (BOB member since 2008-05-12)

I know how to include ALL for the objects but not clear how to implement prompts in Deski.Will you suggest me to create the prompts for this
Thanks in advance


Kala Bhairava :us: (BOB member since 2009-10-07)

I also have pretty much same requirement,Help will be much appreciated.Thanks


Keerth007 :uk: (BOB member since 2009-03-21)

Use Webi XI R3.x, then you can build true optional prompts within the report.


Andreas :de: (BOB member since 2002-06-20)

But we need to develope this Deski only.Will you please suggest me.


Kala Bhairava :us: (BOB member since 2009-10-07)

IMPOSSIBLE IS NOTHING…But i don’t know how to do in Deski :smiley:


Keerth007 :uk: (BOB member since 2009-03-21)

Create a condition object for Prompt and use that into your report.

What issue you are facing in this.


Rakesh_K :india: (BOB member since 2007-12-11)

As I said earlier, only Web-I 3.x allows us to leave a prompt optional. For Desk-I you have to include ALL in LOVs and then select it, as it is the only option. Or are we getting you wrong?


Jansi :india: (BOB member since 2008-05-12)

Jansi,
Yes I got it now. Thanks a lot.


Kala Bhairava :us: (BOB member since 2009-10-07)

BusinessObjects® XI:
The Complete Reference:- page 242

Pseudo Optional Prompts
If you do not want the prompt to be mandatory to limit the number of rows, try the
following technique, originally suggested by Walter Muellner of Mercury Business
Solutions in Austria. The Where clause uses an OR statement to allow users to either answer
ALL or choose individual values from the list:

‘ALL’ IN @Prompt(‘Enter City or ALL’,‘A’, ‘Customer\City’,multi,)
OR
City.city IN @Prompt(‘Enter City or ALL’,‘A’, ‘Customer\City’,multi,)

This is a very creative approach to balancing user friendliness with prompting. When
users enter ALL, the first part of the condition SQL gets used (‘ALL’ IN ‘ALL’). Because
the condition statement uses an OR clause, the second condition is not evaluated. Conversely,
if users enter city names (or anything other than ALL), then the first part of the SQL is not
true and so it does not get used, while the second condition does. Of course, if ALL is a
possible data value in the City column, this poses a problem. The alternative is to use a
symbol such as * or %—however, the risk is that users mix up true uses of these symbols (wildcards in certain databases). Finally, in order for this to work, the prompt in both
condition statements must be exactly the same or users will be prompted twice.


Keerth007 :uk: (BOB member since 2009-03-21)