Użytkownik Ed Leafe napisał:
> On Sep 23, 2010, at 2:02 PM, Jacek Kałucki wrote:
>
>
>> Why iterator returns something useless while it can return something
>> usefull?
>>
>
> I've already explained that. If it returned the content of that row, it
> would suggest that you could modify those values and have them reflected back
> in the bizobj. Operating under the principle of least surprises, that would
> be a much worse solution, as it would potentially involved data loss.
>
>
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?
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?
--
Regards
Jacek Kałucki
_______________________________________________
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]