On Dec 13, 2007, at 8:15 AM, Ed Leafe wrote:
>> Great, works like a charm! Now I'm trying to figure out how to save
>> the child records.
>
> Same as you would for creating a new child: self.Form.save("child"),
> where 'child' is the DataSource of the child bizobj.
After I wrote this yesterday, it occurred to me that I should point
out that you could also run: self.Form.save() (i.e., without the
child DataSource name), and it would still work, since the plain
version will call save() on the PrimaryBizobj (the parent), and even
if the parent hasn't changed, if any of its related child bizobjs has
pending changes, they will be saved, too.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]