# Comment component doesn't display the data

**URL:** <https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853>\
**Category:** Ask for Help\
**Created:** [May 13, 2025, 2:51pm UTC](https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853 "2025-05-13T14:51:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxime\_Im\_Nomade](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxime_im_nomade/32/88075_2.png) [@Maxime\_Im\_Nomade](https://community.glideapps.com/u/Maxime_Im_Nomade)\
**Post date:** [May 13, 2025, 2:51pm UTC](https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853/1 "2025-05-13T14:51:47Z")

</div>

Hello there.  
I’m creating an app where we have projects, and on each on thems we have a comment app.  
I have a database created for the chat system, and a relation between the chat database and the database of each project.  
I can see data is stored on the good way, but it’s not showing off the data, and I don’t get why…

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/0/40be6a721f53ed53ea6ffd63991483e017c057b3.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/f/2f54b8cd7aad23333ab3308b1dd0420faab0f644.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/f/df4d014bf25912d376d5499cf53f1e758026b398.jpeg)

If you can find where the bug or the setup is not good… Because I have check everywhere…

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 13, 2025, 2:59pm UTC](https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853/2 "2025-05-13T14:59:55Z")

</div>

You are comparing the RowID for rows in the project table to RowID for rows in the chat table. They will never match. Relatione only work if they can find matching values between both tables.

You need to store the Project RowID in a new column in the chat table and use that column for your relation.

---

<div class="post-metadata">

**Author:** ![Maxime\_Im\_Nomade](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxime_im_nomade/32/88075_2.png) [@Maxime\_Im\_Nomade](https://community.glideapps.com/u/Maxime_Im_Nomade)\
**Post date:** [May 13, 2025, 3:21pm UTC](https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853/3 "2025-05-13T15:21:58Z")

</div>

Thanks for your quick answer, that’s really appreciate. I also find it weird, follow this step by step guide on youtube

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/a/ba246b2e29a0c9f1373a32e389593e035fcdb570.jpeg "Build No Code Private and AI Chats using the Glide Chat Component") ](https://www.youtube.com/watch?v=c0vW0GFc2io&t=205s)

But yes… Logic was not getting on me…  
So, I created a new column in the Chat table and make a relation with the Project database. Do I need to delete the column in the project table?

I tried as it is and not working so far… ☹

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/2/d2099861aa28e237dcd8f288e516ed0241be6aa2.jpeg)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 13, 2025, 3:29pm UTC](https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853/4 "2025-05-13T15:29:17Z")

</div>

You probably don’t need a relation in the chat table.

What you do want is a relation in the Project table linking it’s RowID to the project row ID stored in the chat table. When a new chat row is added, it should be filling in a project Row ID so you know which project each chat row belongs to.

---

<div class="post-metadata">

**Author:** ![Maxime\_Im\_Nomade](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maxime_im_nomade/32/88075_2.png) [@Maxime\_Im\_Nomade](https://community.glideapps.com/u/Maxime_Im_Nomade)\
**Post date:** [May 13, 2025, 3:48pm UTC](https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853/5 "2025-05-13T15:48:42Z")

</div>

I will not have find it Myself I think so.  
Thanks a lot for your help, it have been really helpfull.  
If I can do anything for you (review etc..) Feel free to ask it 🙂

For other people in case :

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/e/9eaac0712df1b20fc4fb379f7a43c454489db3f7.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/6/b6bf984ee5d7cf76f1f05009bae97ed5ff0c10b6.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [May 20, 2025, 3:49pm UTC](https://community.glideapps.com/t/comment-component-doesnt-display-the-data/81853/6 "2025-05-20T15:49:05Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
