1. Change the relation_id for the non-constituent to the desired constituent Record ID.  
  2. Break the address link and add new  address info or link to an existing Address ID.
<Start Code Snippet>
Set oOrg = New COrganization2
    With oOrg
        .Init REApplication.SessionContext
            .Load lOrgID
            .Fields(ORGANIZATION2_fld_RELATION_ID) = 22925
            .Fields(ORGANIZATION2_fld_IS_PRIMARY) = True
            .Fields(ORGANIZATION2_fld_IS_EMPLOYEE) = True
            .Fields(ORGANIZATION2_fld_RELATION_CODE) = "Employer"
            .Fields(ORGANIZATION2_fld_RECIP_RELATION_CODE) = "Employee"
            If .Address.Links.Count > 1 Then .Address.Links.BreakLink .Address.Fields(CONSTIT_ADDRESS_fld_ID): If lAddressID Then .Address.Fields(CONSTIT_ADDRESS_fld_ADDRESS_ID) = lAddressID
    End With
Set oOrg = Nothing
<End Code Snippet>

Disclaimer: We provide programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Microsoft Visual Basic and the tools used to create and debug procedures. Our Customer Support can help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality. If you are interested in learning more about the VBA and API modules, contact your account manager.