How to set continuous page number in TOC?

Stimulsoft Reports.NET discussion
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: How to set continuous page number in TOC?

Post by Anuranjani »

Hello

I have tired for two levels,and its working fine.Now trying for two or more levels of hierarchy and to set hyperlink for the page numbers.Provide sample template for two or more levels with hyperlink.

Thank You.
Thank You,
Darsana.R
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: How to set continuous page number in TOC?

Post by Andrew »

Hello,

You just need to slightly modify the report template that we gave you recently. Could you do this? If not, please let us know what difficulties you did met?

Waiting for your reply.
Thank you.
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: How to set continuous page number in TOC?

Post by Anuranjani »

Hi,

You have already given the sample report for continuous pages for TOC.Its might helped but we need continuous page number for the last value.Herewith I have attached the screen shot.kindly help us to improve.

Thanks
Darsana.R
Attachments
TOC ISSUE
TOC ISSUE
tocissue.png (204.94 KiB) Viewed 2802 times
Thank You,
Darsana.R
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to set continuous page number in TOC?

Post by HighAley »

Hello.

You could use there NumberOfPages system variable in the last section.
Let us know if you need any additional help.

Thank you.
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: How to set continuous page number in TOC?

Post by Anuranjani »

Hi,

Thank you.I got solution.

Thanks
Darsana.R
Thank You,
Darsana.R
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: How to set continuous page number in TOC?

Post by Andrew »

Dear Darsana,

Great! Thank you for the reply.
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: How to set continuous page number in TOC?

Post by Anuranjani »

Hi Aleksey,

We are having some issues in TOC and included as you suggest before.We are facing incorrect pages number and not getting "TO" page number for last family.Herewith I have attached the DB Values and template for your reference.Kindly help us to Improve.

Thank You,
Darsana.R
Attachments
sample forum stimulsoft.mrt
Template
(142.9 KiB) Downloaded 138 times
Sample_pdf.rar
DB
(87.82 KiB) Downloaded 144 times
Issues
Issues
Toc Issues 20102015.jpg (60.9 KiB) Viewed 2698 times
Thank You,
Darsana.R
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to set continuous page number in TOC?

Post by HighAley »

Hello.

Please, look at the attached report template.
As we wrote before you should add one code line to the report to get necessary result.
We have added a Report Summary where we use After Print event to set the last page number with next code:

Code: Select all

CatPages[Categories.CategoryID] += "-" + PageNumber;
Thank you.
Attachments
TOCWithRange2.mrt
(34.61 KiB) Downloaded 158 times
Anuranjani
Posts: 112
Joined: Wed Aug 27, 2014 12:36 pm

Re: How to set continuous page number in TOC?

Post by Anuranjani »

Hi,

Thats Great,I have included the code in the template.But didn't get the solution.We are using this type(attached) of template for our production.Kindly help us with the attached template.

Thank You,
Darsana.R
Attachments
sample.mrt
Template
(141.77 KiB) Downloaded 140 times
Issue file
Issue file
TOC1_21102015.jpg (170.44 KiB) Viewed 2695 times
Changes in the template
Changes in the template
TOC 21102015.jpg (234.48 KiB) Viewed 2695 times
Thank You,
Darsana.R
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to set continuous page number in TOC?

Post by HighAley »

Hello.

You did not set the New Page Before property of the Group Header to True. Then you will get right page numbers.

In your data you have different Family codes for one Family name. So you don't get the expected result in the last group. Try to use Family ID.

Thank you.
Post Reply