Link to home
Start Free TrialLog in
Avatar of diteps06
diteps06Flag for United States of America

asked on

How to display Prompt default date value in Business Objects XI webI

I would like a prompt which display dates to have default values.
The End Date is the current date and Begin Date is the fifth day from current date.
I created 2 objects (CURDAY and PRIOR 5 DAY)  which represents these variables in Designer and use them in the extended prompt syntax.
The syntax applied is:
@Select(Calendar \Data Rif) BETWEEN  @Prompt('Enter Begin Date','DATE','Calendar \Date Rif,MONO,FREE,NON-PERSISTENT, {CURDAY},) AND @Prompt('Enter End Date', 'DATE', 'Calendar \Date Rif,MONO,FREE,NON-PERSISTENT, {PRIOR 5 DAY},)

CURDAY is an object in designer which returns the date of the current day whereas PRIOR 5 DAY returns the date of the fifth day from current date.

Unfortunately, it doesn't function. The prompt still ask for dates.
Where I am wrong or is there any other workaround I can use
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial