Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » PDF Footer
Re: PDF Footer [message #2411 is a reply to message #2410] Wed, 20 January 2010 15:50 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
The footer is printed as follows:

Whenever the AddPage() function is called it does the following:
- call endPage() to end the current page (if there is one).
- call startPage() to start a new page.

The endPage() function calls setFooter() which calls Footer() which calls printFooter() for each of the two possible footer lines as defined in the report structure file.

The printFooter() function uses the last record read for any %%field substitutions, which after my last change is now the 'next' record (as used in the updated _cm_ListView_print_after() function) instead of the 'current' record.

The printFooter() function does NOT use any of the extra rows created by the _cm_ListView_print_before() or _cm_ListView_print_after() functions.

Attached is an updated version of std.pdf.class.inc which now uses the 'previous' record instead of the 'last' record. Try it out to see if it fixes your problem.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sub totals and Page Breaks
Next Topic: Formatting in _cm_listView_header() method
Goto Forum:
  


Current Time: Fri Nov 29 07:18:11 EST 2024

Total time taken to generate the page: 0.01268 seconds