On 11/12/10 6:49 AM, John Fabiani wrote:
> depends:
>
> 1. RowCount reports 2
> 2. set filter RowCounts reports 0
> 3. new() - RowCount reports 0
> 4. set the value to the filter in the new record - RowCount reports 1

How do you access the new record when it's been immediately filtered out?

> 5. remove the filter RowCount reports 3
>
> In above case the RowCount is following the filter.  And I guess you believe
> that might be user-hostile.

No, not if that's the way it is supposed to work. What would be user-hostile is 
having len(biz._records) != biz.RowCount.


> But RowCount could also follow the real table.
>
> In that case it would report
> 1. RowCount reports 2
> 2. set filter RowCounts reports 2
> 3. new() - RowCount reports 3
> 4. remove the filter RowCount reports 3

Then you have user-hostility because you can no longer reference rows in the 
dataset 
by row number. And you'd have to remember that every time, and re-remember it 
every 
time you get bitten by it. And you may not be bitten by it in the course of 
testing 
non-edge cases.

> Like you said when Ed returns he'll provide his thoughts.

Based on his tweets he's going to need a week of sleep. :)

Paul

_______________________________________________
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