This is a migrated thread and some comments may be shown as answers.

Adding 'Continued' to a multiple page report

6 Answers 139 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dean Allan
Top achievements
Rank 1
Dean Allan asked on 28 Mar 2012, 09:57 AM
Hello everyone,

Has anyone found a reliable method to add a visual identifier such as 'Continued' to a report that is more than one page because of a long sub-report?

For example, a report that contains Machine info. The report has a sub-report that contains Parts information as line items.  The main report information is in Group and the sub-report is located in the Details Section.

Is it possible to have some kind of identifier on the report that would appear when the sub-report has forced the main report into a second, third or so on pages. Maybe a 'Continued' could appear next to the Customer Name field in the main report Group or change a color of something (anything). 

The main point would be to offer some assistance for the person reviewing the reports. If the report contains 200 machines and each has a unknown number of sub pages all placed in a binder it starts to get confusing. 

Open to any suggestions.

Thanks.

6 Answers, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 29 Mar 2012, 11:10 AM
Simple as that
Put a textbox in the PageFooter of the Main report with value:
= IIF( PageCount > PageNumber, "Continues..", "End")
0
Dean Allan
Top achievements
Rank 1
answered on 29 May 2012, 06:39 AM
Thanks Hadib!

I missed the part that you could embed some coded functionality into the report.  That did the trick.
0
Dean Allan
Top achievements
Rank 1
answered on 25 Jun 2012, 10:19 PM
Hello,

I received some feedback on the solution.  Apparently it works but not as needed.  Every page of the report received 'Continued' until the last page which is marked 'End'. 

Maybe a better example is needed.  Say your running a report of Sales Invoices for the month which contains 100 invoices, each has a sub report of items sold.  Of those 100 invoices 5 of them require two pages to print all of the sub-report data.  'Continued' would need to appear only on the second pages of those 5 invoices.

I wondered if the Invoice # could be tracked from one page of the main report to the next and if it's the same as the last then I could enable a Lable that says 'Continued' on the main report then disable on the next new Invoice #



0
Squall
Top achievements
Rank 1
answered on 26 Jun 2012, 10:47 AM
Hi, 
Have you tried the PageExec function. You can track for certain items in the page and if they are available to print the appropriate message.
SN
0
Jennifer
Top achievements
Rank 1
answered on 31 May 2013, 02:12 PM
Do you have a non C# sample?  Preferably one using Telerik Reports (stand alone).

-Jennifer
0
KS
Top achievements
Rank 1
answered on 03 Jun 2013, 03:00 PM
Check the last Telerik post here http://www.telerik.com/community/forums/reporting/telerik-reporting/make-the-group-header-different-if-it-s-continued-on-the-next-page.aspx.

In the example are used expressions(the same as can be used in the standalone designer) and user function that can be added in the designer- http://www.telerik.com/help/reporting/standalone-report-designer-extending-configuration.html


Tags
General Discussions
Asked by
Dean Allan
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Dean Allan
Top achievements
Rank 1
Squall
Top achievements
Rank 1
Jennifer
Top achievements
Rank 1
KS
Top achievements
Rank 1
Share this question
or