# Changing category names

**URL:** <https://community.glideapps.com/t/changing-category-names/38893>\
**Category:** Ask for Help\
**Created:** [February 23, 2022, 7:14pm UTC](https://community.glideapps.com/t/changing-category-names/38893 "2022-02-23T19:14:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trading\_5\_Talents](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/trading_5_talents/32/33858_2.png) [@Trading\_5\_Talents](https://community.glideapps.com/u/Trading_5_Talents)\
**Post date:** [February 23, 2022, 7:14pm UTC](https://community.glideapps.com/t/changing-category-names/38893/1 "2022-02-23T19:14:15Z")

</div>

Hi! It’s been a while since I’ve posted and my app has been working well thanks to the many Glide experts in this forum!

I had a question about some future things I’d like to build on to my app. Suppose a user creates a category (red, blue, green…), then multiple items with that category name. If the user wants to change the name of the category (red to dark red), Glide won’t update the records with the new name would it? Is there a way to accomplish it?

---

<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:** [February 23, 2022, 8:11pm UTC](https://community.glideapps.com/t/changing-category-names/38893/2 "2022-02-23T20:11:08Z")

</div>

The better way to handle it is to have a category ID (or RowID) in the Category table. Instead of writing the category name to the Items table, you wrote the category ID. Then you would use a relation/lookup to retrieve the category name into the Items table.

With a setup like this, you can change the category name, but since the ID never changes, the relation/lookup in the Items table will still work and retrieve the new category name.

It’s not about updating all of the related child records. It’s about updating only the parent record without breaking the connection between parent and child records.

---

<div class="post-metadata">

**Author:** ![Trading\_5\_Talents](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/trading_5_talents/32/33858_2.png) [@Trading\_5\_Talents](https://community.glideapps.com/u/Trading_5_Talents)\
**Post date:** [February 24, 2022, 3:53am UTC](https://community.glideapps.com/t/changing-category-names/38893/3 "2022-02-24T03:53:21Z")

</div>

Awesome! That worked beautifully! Thank you so much 😀

---

<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:** [February 25, 2022, 3:53am UTC](https://community.glideapps.com/t/changing-category-names/38893/4 "2022-02-25T03:53:29Z")

</div>

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