On Sep 23, 2010, at 2:57 PM, Jacek Kałucki wrote:
> In other words, you claim there is difference between
>
> [biz.Record.sales_amount idx rec in biz.bizIterator()
> if biz.Record.stateprov == "NJ"]
>
> and
>
> [rec.sales_amount for rec in biz.bizIterator()
> if rec.stateprov == "NJ"]
>
> in such context, isn't it?
No, I never claimed that. You asked for *one* example, and that was a
quick one I thought of off the top of my head. Please don't take that as the
one and only use case.
> Because I can't see any difference in accessing row attributes,
> except referencing.
> Tell me, if is there a difference in final effect, between
> biz.setFieldVal(fld, val)
> and
> biz.Record.fld = val
> please?
No, and you're drifting away from the point again.
The bizIterator is a convenience for looping through records. Nothing
more. If you have an idea for something that provides more functionality, I'm
open to that. But it is not correct to claim that the existing bizIterator is
wrong because it doesn't do what you think it should do.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]