Discussions

Expand all | Collapse all

Move Table with Relationship Intact

  • 1.  Move Table with Relationship Intact

    Posted 01-11-2018 16:48
    Can we move a table from one application into another with all the relationship intact?


  • 2.  RE: Move Table with Relationship Intact

    Top
    Contributor
    Posted 01-11-2018 20:36
    Hi Kingsly,

    When moving a table or tables from one application to another those relationships that were previously in place were part of the schema of the previous application so they do not transfer over. What does transfer over though is the reference field and its values in any of the child tables. For example if I am moving my Companies table and my Contacts table (with Companies as the parent of Contacts) the Contacts table will still have the Related Company field. What this means is that after being moved you would need to create the relationship again and while doing so pick the existing Related Company field as your Reference field. This will allow you to re-relate your records. Unfortunately, these relationships as they exist are lost during the transfer process. 


  • 3.  RE: Move Table with Relationship Intact

    Posted 01-12-2018 11:46
    Thank you Evan. That is unfortunate. But it is what it is. There are thousands of records, which all have to be linked again.


  • 4.  RE: Move Table with Relationship Intact

    Top
    Contributor
    Posted 01-12-2018 13:52
    Hi Kingsly,

    So long as you make sure to target your existing reference field those records will all re-relate at once. The Related Parent field in your child table keeps its values, so that field still references its parent. You just have to pick the existing field that still relates to the right parent when you rebuild the relationship, it will re relate all of them at once. 


  • 5.  RE: Move Table with Relationship Intact

    Posted 01-12-2018 14:18
    Yes. But, I am thinking of getting rid of the parent table in this case. For I have built a new one now, which will be a parent for other tables. So, I will make sure to re-link it all and break the connection. With our limited plan, I cannot create another application, otherwise, I would have gone with copy application option with all links intact.