On Feb 15, 2007, at 8:04 PM, Uwe Grauer wrote:
> Do i have to set the foreign key value for a detail record myself
> or does dabo do this for me?
> Of cause i have set the relevant information in my bizobj:
> enumBizobj = EnumBizobj(self.Connection)
> enumBizobj.LinkField = "etyp_iid"
> self.addBizobj(enumBizobj)
> etypBizobj.addChild(enumBizobj)
Look at bizobj.FillLinkFromParent:
FillLinkFromParent = property(_getFillLinkFromParent,
_setFillLinkFromParent, None,
_("""In the onNew() method, do we fill in the linkField with the
value returned
by calling the parent bizobj's GetKeyValue() method? (bool)"""))
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users