BusinessObjects Board

prompt

Hi

How can we put an universe object variable value as a default value in prompt.
I want to put in date prompt the current month year as default value.


yosup27 (BOB member since 2010-10-15)

You could have searched before posting this. Anyways, it is the time for you to go through Dave’s magical date blog.


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

I am not bale to understand that code at all.


yosup27 (BOB member since 2010-10-15)

It’s also in the Designer FAQ


Dave Rathbun :us: (BOB member since 2002-06-06)

Hi,

Look I am providing user a string option to enter mm/yyyy and then concatanating this with 01 to convaert it into date.

I just giving user option to enter month/Year to see report of that particular month.

Now I want to set default value as current month/Year in that prompt.

so if user run report this month he should able to see default value in that prompt as 11/2010.


yosup27 (BOB member since 2010-10-15)

A default value has to be a constant. That’s what is in the FAQ entry I linked earlier.


Dave Rathbun :us: (BOB member since 2002-06-06)

Hi,

Is there any way to acheive this functionality.


yosup27 (BOB member since 2010-10-15)

You would have to write custom code via the SDK.


Dave Rathbun :us: (BOB member since 2002-06-06)