Skip to main content
Question

multiple tables exported into cvs files - maintain relationships when importing into fresh database

  • Nov 4, 2026 5:55 PM UTC
  • 3 replies
  • 38 views

Forum|alt.badge.img+12

Hi

Our company is providing the data to an outside person that has purchase a quickbase. 

At this time the owner does not want to relinquish the build but since the other owner of the fresh database purchase wants the data. I have been told I can provide the data via cvs file so they could upload it into their QBase - I know the easier route is to copy the database and hand it over, but at this time I am not allowed to do this. I am suppose to provide the data and some guidance. 

 

I have like 5 tables that all have relationships - even if they created all 5 tables and made the relationship within the new build, it would not establish any relationships? Is this correct? Plus I understand that all formula fields and summaries etc would be broken? 

I just need to confirm that this thinking is correct. 

3 replies

Maria
Forum|alt.badge.img+21
  • Community Admin
  • Nov 5, 2026 5:10 PM UTC

Hey Roxanne! 

It's been a minute but it's good to hear from you! We've both come a long way from our time working together on your cases in support (forgive me for being a bit of a proud mama bird). 

On to your questions: 

~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ 

* If they created all 5 tables and made the relationship within the new build, it would not establish any relationships? Is this correct?

Um... the way you phrased this makes me hesitant to just say yes. 

If I were in your shoes, I would make sure to provide the CSVs in a controlled manner to avoid confusion. You'll have to provide clearly highlighted context on which fields impact or depend on relationships because this is how the data is linked. 

I'd follow the following order of operations: 

1. I would export 1 table CSV at a time
2. Make sure you know which fields are...
    a. table key field
    b. relationships and their:
        - reference fields
        - lookup fields
        - summary fields 
    c. formula fields
        - copy & document the formulas
3. Give your protege one CSV file at a time
    a. have them make the 1 table
    b. definitely walk them through that 1st import and field mappings
        - impress upon them the importance of field names and IDs
        - save formulas and relationships for last
4. Once you're satisfied they understand how to make a sufficiently identical table, you can give them one more CSV at a time so you can check the fields necessary for the building of relationships, etc
5. Once all 5 tables exist, start by building 1 relationship. 
    a. reference fields and lookups happen 1st
    b. summaries and formula fields should be last. 
6. Rinse, repeat. 

~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ 

* Plus I understand that all formula fields and summaries etc would be broken? 

If you import formula fields it will just import the flat value of that field for that record, not the formula. Once you import the CSV, I would go to each formula field and change the field type (ie from a text field to a formula-text field) and add back the formulas. The same will be true for the summary fields. A flat, static numeric value (or whatever type the summary is) will be imported for that record. Once that table's relationships are rebuilt, you will need to recreate the summaries. 

~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ 

So far we have been assuming the simplest, most flat configuration of your app. We haven’t even broached the possibility that your app might have connected tables, pipelines or API calls among other possible configurations. 

So with all of that context, I wonder if your company understands the hours that are going to go into this rebuild that will end in basically a copy of your existing app, when instead you could just offer them a copy of your app. 

I'm curious what other QB pros here think. How would you advise Roxanne and her company? ​@RobertReeise ​@MikeTamoush ​@QuickBaseJunkie ​@LauraThacker ​@Nichole.Braswell ​@EmberKrumwied ​@RoyWanyoike ​@hueyal 


Top Step
Forum|alt.badge.img+12
  • Observing
  • Nov 5, 2026 5:11 PM UTC

You’re mostly right, but the relationships can come over if you include the IDs and they import in the right order.

When you export each table, include Record ID# on the parents and the reference field on the children (like Related Customer). That column holds the parent’s old Record ID#.

In the new app, they can’t import into Record ID#, so on each parent table they add a numeric field like Old ID and make it the key field before creating the relationships. Then import the parent tables first, mapping the old Record ID# into Old ID.

Next, import the child tables and map the old reference column into the child’s reference field. Quickbase matches each child to the parent with that Old ID. If a table is both a child and a parent, it needs its own Old ID too.

Once everything’s in, they can switch the key fields back to Record ID#. Quickbase keeps the existing links when the key changes.

On formulas, summaries and lookups, yes. The CSV only has values, and those fields can’t be imported into, so they have to be rebuilt in the new app. Once the relationships are rebuilt, the summaries and lookups fill themselves back in.

It helps to send a list of each formula along with the data so they aren’t reverse engineering them. File attachments also won’t come through a CSV, so if any tables have them, those need to be handed over separately.

Want more detail? I wrote a full walkthrough here: https://www.topstep.tech/blog/quickbase-move-related-tables-csv-keep-relationships 


Maria
Forum|alt.badge.img+21
  • Community Admin
  • Nov 5, 2026 5:21 PM UTC

Nice ​@Top Step!
You highlight an aspect I didn’t even remember to include… which again makes me want to speak with ​@RoxanneZiegler‘s colleagues and ask what it is they feel they are protecting by not just sharing a copy of the app.