Quantcast
Channel: BIRT Exchange Forum Feed
Viewing all articles
Browse latest Browse all 542

Date Selector: How to implement computed default value (BirtDateTime.addMonth(BirtDateTime.today(),-6))

$
0
0
Hi,
In BIRT 360, when I add a Report Parameter Widget and reference the BIRT report, the widget originally sets the default dates to whatever my default script is resolving to (i.e. BirtDateTime.addMonth(BirtDateTime.today(),-6) -> 2012/07/04). However, this is a static value. Is there a way to use the same script as in my BIRT report in BIRT 360? I always want to show the last 6 months worth of data by default (later on the user can change it if required). I tried to copy the script into the default value field of the widget but unfortunately it wont accept it.
Thanks,
Diddy

Viewing all articles
Browse latest Browse all 542

Trending Articles