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
LVL 1
diteps06Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
I don't believe the prompt can include vriable/formula data.

mlmcc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB Reporting Tools

From novice to tech pro — start learning today.