dabo Commit
Revision 7257
Date: 2012-09-24 12:40:43 -0700 (Mon, 24 Sep 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7257

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

Log:
Off-by-one error resulted in phantom group headers being printed. Fixed.


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2012-09-24 19:26:08 UTC (rev 7256)
+++ trunk/dabo/lib/reportWriter.py      2012-09-24 19:40:43 UTC (rev 7257)
@@ -2306,7 +2306,7 @@
                                if y < check or maxBandHeight is None:
                                        # Move to the next page or column
                                        headers_reprinted = False
-                                       if self.RecordNumber <= 
len(self.Cursor):
+                                       if self.RecordNumber < len(self.Cursor):
                                                headers_reprinted = False
                                                if self._currentColumn >= 
columnCount-1:
                                                        # Move to next page



_______________________________________________
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