View Single Post
  #1 (permalink)  
Old 07-07-2009, 06:35 AM
rafidwahab rafidwahab is offline
Junior Member
 
Join Date: Apr 2009
Posts: 3
Angry Being able to change an attribute based on output type (i.e PDF,HTML) @ runtime

The pageBreakInterval has been an obstacle for my team as the have to identify how many rows each page must have or set the value of the "pageBreakInterval" to 0 which will automatically break the page for PDF.

The issue I have seen and read is that for HTML if the "pageBreakInterval" is 0 while PDF will auto pageBreak, then all the data is displayed on one screen in one single HTML page.

A team member have found a script that can identify to me which output I am currently running but it seems that this check while works well in the designer running a PDF, does not work in the WebViewer. It seems to show HTML as the output even when generateing PDF be using cache data.

---> I would like to know if there is a way to change a value of pageBreakInterval to 0 at runtime if the requested output is PDF.

----> If there is any other advise on how to better handle pageBreaks, please let me know.
Attached Files
File Type: rptdesign test.rptdesign (33.0 KB, 3 views)
Reply With Quote