Reputation: 31
I'm using SSRS 2005. In my report, I'm getting data to a table with paging(use with grouping). It's ok. But when I export data to Excel file, RS divide data within multiple sheet.
How can I get data in only one sheet while exporting to Excel?
Upvotes: 3
Views: 7810
Reputation: 56
This works for me:
=IIF(Globals!RenderFormat.Name = "EXCELOPENXML", True, IIF(RowNumber(Nothing) mod 30=0,False,True))
It does page break after 30 rows and disables page breaks when report is getting exported to Excel!
Upvotes: 0
Reputation: 572
If you want to do paging with using page breaks and also want to disable paging on excel, follow these steps;
End
PageBreak -> Disabled : =IIF(Globals!RenderFormat.Name="EXCELOPENXML",True, IIF(rownumber(nothing) mod 50=0, false, true))
Upvotes: 2
Reputation: 31
Write the following expression to disable the page-break during export to excel :-
IIF(Globals!RenderFormat.Name = "EXCEL",TRUE,FALSE)
Upvotes: 3
Reputation: 10046
You may want to check out Aspose, a commercial rendering extension engine for SSRS. We've used it for exporting reports to Word with Korean characters and it works great. They provide good support as well.
Upvotes: 0
Reputation: 11007
It can't be done. Remove the page breaks, or live with it.
Upvotes: 0