Hi.
I have found that the RowCount property allowed value ranges are from [-1, max].
Next in the same code you are using statements:
if self.RowCount:
....
This statement is true for value -1 and >0, but -1 means no records.
Even though it's relatively small moment of time where _records
attribute isn't assigned, I vote for change values returned by:
RowCount ::= [0, max]
RowNumber ::= [-1, max-1]
--
Regards
Jacek Kałucki
_______________________________________________
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]