IReportDocument page count [message #698358] |
Tue, 19 July 2011 10:32 |
sam va Messages: 121 Registered: July 2011 |
Senior Member |
|
|
I have a report which has content specific to excel and content specific to pdf in the same report. When the report document is generated, it contains the data for both the outputs. Now if we get the page count on the report document, it will be a combination of both excel and pdf. Is there anyway to get the page count only for a specific output without using render task?
Thanks in advance.
[Updated on: Tue, 19 July 2011 13:11] Report message to a moderator
|
|
|
Re: IReportDocument page count [message #698481 is a reply to message #698358] |
Tue, 19 July 2011 14:06 |
|
Currently pagination is done at run time so I do not know of a work
around for this issue. I assume you are using visibility expressions to
control what content is rendered for an output? If so you may want to
look at using the de api in script to drop content and re-run the report
for a specific output.
Jason
On 7/19/2011 6:32 AM, forums-noreply@eclipse.org wrote:
> I have a report which has content specific to excel and content specific
> to pdf in the same report. When the report document is generated, it
> contains the data for both the outputs. Now if we get the page count on
> the report document, it will be a combination of both excel and pdf. Is
> there anyway to get the page count only for a specific output?
>
> Thanks in advance.
|
|
|
|
Re: IReportDocument page count [message #698619 is a reply to message #698563] |
Tue, 19 July 2011 20:19 |
|
I do not know of any easy way around this. I know there is a bug
reported on visibility expressions currently but I do know of a work
around. If you re-run the report it will hit the queries again.
Jason
On 7/19/2011 1:44 PM, forums-noreply@eclipse.org wrote:
> Thanks for the quick reply
>
> would it not hit performance. my queries are huge and take couple of
> minutes to run. If we run the same query again for each output, that
> would take a hit on performance. Is there anyway we can set the dataset
> results from one report to another one?
>
> Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02796 seconds