How To Get Foreign Keys Set

From Dabo Wiki
Jump to navigationJump to 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)