Miquel, Su pregunta es dificil para entender. Preguntalo en espanol y trataré de traducirlo.
Larry > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Miguel Lopes > Sent: Monday, November 16, 2009 5:33 AM > To: Dabo Users list > Subject: [dabo-users] creating child record at record creation > > 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/a19730800911160232l78ba3133i58 > [email protected] > _______________________________________________ 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/!~!uenerkvcmdkaaqacaaaaaaaaaaaaaaaaabgaaaaaaaaaafa2fnyupuomnfpiynbeqckaaaaqaaaazfrjtdv+p0chalrbqilhyweaa...@charter.net
