Page 1 of 1

TOC Creation - Reg.

Posted: Thu Jul 18, 2013 11:07 am
by shan
Hi,
I need to the create the TOC as per the below mentioned sample.
1. C_Name1.........1
2. C_Name2.........2-3
3. C_Name3.........4
4. C_Name4.........5-6
But now i can generate like below design.
1. C_Name1.........1
2. C_Name2.........2
3. C_Name2.........3
4. C_Name3.........4
5. C_Name4.........5
6. C_Name4.........6

Kindly look into the above mentioned details and then suggest us to proceed further.

Thanks & Regards,
Shan

Re: TOC Creation - Reg.

Posted: Sun Jul 21, 2013 4:12 pm
by Ivan
Hello,

Can you please send us a sample report template with data, which reproduce the issue?

Thank you.

Re: TOC Creation - Reg.

Posted: Mon Aug 12, 2013 2:19 pm
by shan
Ivan wrote:Hello,

Can you please send us a sample report template with data, which reproduce the issue?

Thank you.

Hi,
Kindly find the attached sample report with database for your reference.

I need the TOC page Light1 (C_Name) to show 1-2, but in the above template it shows 1.

If any doubt let me know.

Regards,
Shan

Re: TOC Creation - Reg.

Posted: Wed Aug 14, 2013 1:17 pm
by Alex K.
Hello,

You can try to use the additional code and object for saving the first and last page for each group In the First pass. And in second pass show these values.

Thank you.

Re: TOC Creation - Reg.

Posted: Wed Aug 14, 2013 1:24 pm
by shan
Aleksey wrote:Hello,

You can try to use the additional code and object for saving the first and last page for each group In the First pass. And in second pass show these values.

Thank you.
Hi,
Thanks for your response. Can u edit the template and show me the solution. Because i cant get you? and also i am in urge.

Thanks & Regards,
Shan

Re: TOC Creation - Reg.

Posted: Thu Aug 15, 2013 1:27 pm
by Alex K.
Hello,

Please check the sample report in the attachment.
There is two HashTable for start page and for end page which calculate in AfterPrint event of databand. Also the NumberOfPass is set to "DoublePass" value.

You can make the similar solution in yours report.

Thank you.