|Problem with date parameters changing to string [message #1064373]
||Wed, 19 June 2013 00:18
| Dave Oatway
Registered: February 2013
I have a series of reports that use a StartDate and EndDate.|
I set up the first date set in a report, export it to the library, then inherit it into additional reports from the library.
The parameters are set up a data type date, text box, format as short date, required.
The StartDate default is: BirtDateTime.addDay(BirtDateTime.now(), -90) and the
EndDate is set up as BirtDateTime.now().
When previewing in the designer I frequently get a display of date-time - when I check the parameter in the report the type has changed to String.
This has happened many times. I never save these date parameters as anything except datatype date.
Once deployed, they do not change the data type.
This is time consuming to continually correct, and the possibility of deploying a badly formatted report is real.
What should I be doing differently? I am using 3.7.2
Any suggestions would be welcome.
[Updated on: Wed, 19 June 2013 00:24]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04236 seconds