dabo Commit
Revision 6101
Date: 2010-10-11 21:03:27 -0700 (Mon, 11 Oct 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6101
Changed:
U trunk/dabo/biz/dBizobj.py
Log:
I thought it would be good to point out that bizIterator() and bizDataIterator()
will likely move the record pointer from where it was before the iteration.
Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py 2010-10-11 03:14:02 UTC (rev 6100)
+++ trunk/dabo/biz/dBizobj.py 2010-10-12 04:03:27 UTC (rev 6101)
@@ -720,6 +720,9 @@
the first record to the last, and returns the current record
number.
You may call the iterator's reverse() method before beginning
iteration in order to iterate from the last record back to the
first.
+
+ Note that the bizobj will remain on the last (or first, if
reverse()
+ is True) record after the iteration is complete.
"""
return _bizIterator(self)
@@ -730,6 +733,9 @@
of the record for the current iteration. You may call the
iterator's
reverse() method before beginning iteration in order to iterate
from
the last record back to the first.
+
+ Note that the bizobj will remain on the last (or first, if
reverse()
+ is True) record after the iteration is complete.
"""
return _bizIterator(self, returnRecords=True)
_______________________________________________
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]