How To Get Foreign Keys Set

From Dabo Wiki
Jump to: navigation, search

You need to set bizobj.FillLinkFromParent to True.

Of cause you also have to supply the usual information for the parent-child relation:

childBizobj.FillLinkFromParent = True
childBizobj.LinkField = "parent_iid"
parentBizobj.addChild(childBizobj)