Data Source issue which is not picking dynamically [message #1007543] |
Wed, 06 February 2013 06:30  |
Eclipse User |
|
|
|
Hi,
I have created a report and linked with the other report.
The data source will directly applied by the dynamically based on the application invoked.
But when i use the drill down the data source is nor applying for the drill now report dynamically based on the application invoked.
Can any one help me in this.
please let me know your contact number so that i can explain you the issue
Thank in advance.
Regards,
Sreedhar.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Data Source issue which is not picking dynamically [message #1008527 is a reply to message #1007543] |
Tue, 12 February 2013 16:09  |
Eclipse User |
|
|
|
Take a look at the beforeOpen script of the dataSet. It takes a string value date dd.MM.yyyy for start and end date. It separates them into a string representation of what the database takes. In this case, it's yyyy-MM-dd. If the parameter values are the same, the query's where statement uses '='. If they're different, it uses between. For the sample database, this wasn't necessary, if the values were the same between worked just fine to show the values from just that day.
As for the timezone offset, you should be able to use the function getTimezoneOffset() to grab the offset in minutes. Then, use the BIRTDateTime functions to add/subtract the minutes to/from your date.
|
|
|
Powered by
FUDForum. Page generated in 0.05815 seconds