# How do I link 2 tables together when there is no data yet to link them

**URL:** https://community.glideapps.com/t/how-do-i-link-2-tables-together-when-there-is-no-data-yet-to-link-them/57689
**Category:** Ask for Help
**Created:** [February 9, 2023, 9:16am UTC](https://community.glideapps.com/t/how-do-i-link-2-tables-together-when-there-is-no-data-yet-to-link-them/57689 "2023-02-09T09:16:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gracecruz](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@gracecruz](https://community.glideapps.com/u/gracecruz)
#### Post date: [February 9, 2023, 9:16am UTC](https://community.glideapps.com/t/how-do-i-link-2-tables-together-when-there-is-no-data-yet-to-link-them/57689/1 "2023-02-09T09:16:59Z")

</div>

I am trying to create a journal wherein the page will be display Question as Text and there will be Answer as Text Entry. List of questions will be in Question table, while the answer to the question will be in Answer table

So when I land on a page, source will be Question. I created Cards to be Question (Text) and Answer (Text Entry) but how do I link that the Answer will be saved in the Answer table?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [February 9, 2023, 9:30am UTC](https://community.glideapps.com/t/how-do-i-link-2-tables-together-when-there-is-no-data-yet-to-link-them/57689/3 "2023-02-09T09:30:44Z")

</div>

I would suggest adding a RowID column to your Questions table, and use this as a QuestionID.  
Then add a QuestionID column to your Answers table, and when an answer is submitted, write the associated QuestionID into this column.  
Then you can use those two columns to build a relation between the two tables.
