Page 2 of 2

Re: Table of contents and page numbering

Posted: Tue Sep 06, 2016 7:11 pm
by Alex K.
Hello,

Could you explain your issue in more details?

As a way, you can implement your own event in which merge the necessary pages and page counts in the additional report and then print it.

Thank you.

Re: Table of contents and page numbering

Posted: Mon Sep 19, 2016 9:35 am
by socotek
We have final report (whole report) that is made from different report file .mrt.
We need to have this dinamically creation because of client that choose what elements he wants.

For example, our code is like this below:
Dim reportAss = New StiReport
Dim report1 = New StiReport
Dim report2 = New StiReport
...
'Create report1 with data
'Create report2 with data
...
reportAss.SubReports.Add(report1)
reportAss.SubReports.Add(report2)

Is it now possibile (with latest version of your product) to insert the number of pages and include table of contents of whole report?

Many thanks
Luca

Re: Table of contents and page numbering

Posted: Tue Sep 20, 2016 8:16 am
by Alex K.
Hello,

As a way, you can implement your own event in which merge the necessary pages and page counts in the additional report and then show it. Also, in this case, you should manually calculate page counts for the TOC.

Thank you.

Re: Table of contents and page numbering

Posted: Tue Sep 20, 2016 12:04 pm
by socotek
Ok, thanks.
Can I have more details? Have you an example?

Thank you
Luca

Re: Table of contents and page numbering

Posted: Wed Sep 21, 2016 11:57 am
by Alex K.
Hello,

You can use the Double Pass. You can merge the necessary pages, then in the first pass save page positions (page numbers) for each group, pages (as you needed), and in the second pass show these values in the table of contents.

Thank you.

Re: Table of contents and page numbering

Posted: Wed Sep 28, 2016 9:13 am
by socotek
Aleksey,
I understand what you mean ... could you please send me some examples?

Thanks in advance
Luca

Re: Table of contents and page numbering

Posted: Thu Sep 29, 2016 8:30 pm
by Alex K.
Hello,

Please check the sample in the attachment.

Thank you.