On Aug 16, 2011, at 6:42 AM, Jacek Kałucki wrote:
> 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]
Good catch. That looks like a copy/paste error with RowNumber, for
which -1 makes sense.
I don't see any place where we actually count on a value of -1 for
RowCount, so I'll make that change.
-- Ed Leafe
_______________________________________________
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]