dabo Commit
Revision 5450
Date: 2009-10-05 16:11:33 -0700 (Mon, 05 Oct 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5450

Changed:
U   trunk/dabo/lib/reportWriter.py

Log:
r5342 causes the pageFooter to sometimes print with information from the 
subsequent
record. Fixed.


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2009-10-05 19:36:33 UTC (rev 5449)
+++ trunk/dabo/lib/reportWriter.py      2009-10-05 23:11:33 UTC (rev 5450)
@@ -2066,7 +2066,11 @@
                                                break
 
                        if startNewPage:
+                               # We are starting a new page because a group 
expr changed; temporarily put
+                               # the record back on the last one to print the 
footer that is expected.
+                               self.Record = _lastRecord
                                endPage()
+                               self.Record = record
                                self.Canvas.showPages()
                                self._pageNumber = 0
                                beginPage()




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to