Why under Remedy 9.1 this gives a blank report when the validate of a parameter is true? [message #1748294] |
Mon, 21 November 2016 20:30 |
stephane Girard Messages: 4 Registered: November 2016 |
Junior Member |
|
|
Hello,
I try to make a validate under Birt in order to prevent the report from continuing if the interval between 2 dates give as parameter is too large.
Here is an example of code whose date parameters are hard-coded to give an example:
[CODE] if (BirtDateTime.diffDay ( "2016-11-21", "2016-12-01")> 9)
{False}
else
{True} [/ CODE]
In this example, the difference is 10 so it is too large. When I run reports from the Console reports a previous Remedy version to 9.1 it works. I have an error message window and the report execution ends. However, the same report run from the Remedy 9.1 reports console does not work. The report stops executing without giving the error message window.
Under Birt, in Remedy 9.1 or in an earlier version, I have an error message and the report stops.
Does anyone have an idea to deal with this?
Thank you in advance.
[Updated on: Tue, 22 November 2016 21:57] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02818 seconds