During the creation of a record I want to create some children at the
same time. I'm wondering if this approach would be feasible:

Setting a bizobjs attribute with a dataset of to be children. This way:
* the user selects the child record in the same form the parent record
is created
* in code a dataset of children is assigned to a bizobj attribute
* in beforeSave() bizobj start a transaction
* in the after save use the dataset attribute to create the children,
commit and reset the dataset attribute

Is this the right approach?

Miguel
_______________________________________________
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]

Reply via email to