Summary
Problem while modifying Total No of Pages in RTF Template
Content
Hello,
I am using Page 1 of 1 syntax for Displaying Page No in RTF template. I am using section break "<?for-each-group@section:G_ORDERS[./CS_1!=0];./ORDER_NUMBER?>" for resetting page number for each section. This is working fine. But, the problem is that I have 3 "Terms and Condition" pages in my RTF template making it total of 4 pages. Although the "Terms and Condition" pages starts after " <?end for-each-group?>", in the report output, it is calculating the Number of pages including the 3 "Terms and Condition" pages. So, if the section completes within 1 page, it is still displaying "Page 1 of 4" as the page number instead of "Page 1 of 1", if the section contains 2 pages, it is displaying "Page 1 of 5"/"Page 2 of 5" as the page number instead of "Page 1 of 2"/"Page 2 of 2". I have tried to modify the page number with {={NUMPAGES}-3}, but it is not working.
Can you please help me to sort this out.
Thanks
Saheli
Message was edited by: 3359851 RTF attached.