[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11743
  • Last Modified:

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
1 Solution
I don't believe the prompt can include vriable/formula data.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now