On 11/8/13 9:23 AM, Ed Leafe wrote:
> On Nov 8, 2013, at 8:23 AM, Paul McNett <[email protected]> wrote:
> 
>>> I don't use filters very often.  So I can't really comment.
>>
>> There are some corner-cases that aren't covered and that I don't fully 
>> understand.
>> Use filter() with caution.
> 
> FIlters are a way to create a sub-set of the data in a DataSet without having 
> to hit the database again. E.g.: you run a query that returns 100 records. 
> Your user now selects an option to only show those with records whose 
> last_name column starts with 'S'. You apply that filter, and now the DataSet 
> only has those records. But when you remove the filter, the original data has 
> been retained, so no round trip to the database is needed.
> 
> Filters are great for local manipulation of a DataSet.

I agree, dataset.filter() works very well. I tried to make biz.filter() work 
for me
but ran into strange cases when there were child records involved.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to