I am trying to manually set a relation in the Form's load event as follows but it doesnt seem to work. Any ideas on what I am missing or is this the wrong approach? Me.BoAddress1.ParentBusinessObject = Me.BoEmployee1Dim loRelation As New MicroFour.StrataFrame.Business.BusinessParentRelationshiploRelation.ForeignKeyField() =
New String() {"Adr_FK_ID"}loRelation.ParentPrimaryKeyField() =
New String() {"EMP_PK"}loRelation.ParentBusinessObjectType =
"PayrollBO.BOEmployee"'Set the RelationshipMe.BoContacts1.ParentRelationship = loRelation