# Set Column Value - Makes new row instead of updating

**URL:** <https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592>\
**Category:** Ask for Help\
**Created:** [May 10, 2023, 4:12pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592 "2023-05-10T16:12:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwerty](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@qwerty](https://community.glideapps.com/u/qwerty)\
**Post date:** [May 10, 2023, 4:12pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/1 "2023-05-10T16:12:42Z")

</div>

I’m making an app where a work order’s status can be updated using a form screen. I have two ‘choice’ components, work orders and status. When i click submit a new row is created vs. updating the row with the work order. How do I get the form to update vs. create a new?

---

<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:** [May 10, 2023, 4:25pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/2 "2023-05-10T16:25:52Z")

</div>

A form will always add a new row, that is what it is for. If you want to allow users to edit items, then enable editing.

> **[Glide • Adding, Editing, and Forms](https://www.glideapps.com/docs/guides/core/adding-editing-forms)**
>
> Let users add and edit your data in different ways.

---

<div class="post-metadata">

**Author:** ![qwerty](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@qwerty](https://community.glideapps.com/u/qwerty)\
**Post date:** [May 10, 2023, 4:54pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/3 "2023-05-10T16:54:01Z")

</div>

Darren, you a deserve a beer. Thanks

---

<div class="post-metadata">

**Author:** ![qwerty](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@qwerty](https://community.glideapps.com/u/qwerty)\
**Post date:** [May 10, 2023, 5:09pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/4 "2023-05-10T17:09:34Z")

</div>

How can i trigger a push notification from a simple edit of an item?

---

<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 10, 2023, 11:50pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/5 "2023-05-10T23:50:57Z")

</div>

If you are using an Edit Form to make changes, you should have the ‘On Submit’ option where you can add a Notification action.

---

<div class="post-metadata">

**Author:** ![qwerty](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@qwerty](https://community.glideapps.com/u/qwerty)\
**Post date:** [May 11, 2023, 4:21pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/6 "2023-05-11T16:21:09Z")

</div>

I added a form container to the details page with a choice component to update the status in the work order table. Everything is working correctly with the notifications except that it adds a new line in the work order table instead of updating it.

---

<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:** [May 11, 2023, 4:24pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/7 "2023-05-11T16:24:35Z")

</div>

A form container will always add a new row, so don’t use that.

Just enable editing, or add a button and assign a Show Edit Screen action to it.

---

<div class="post-metadata">

**Author:** ![qwerty](https://avatars.discourse-cdn.com/v4/letter/q/4491bb/32.png) [@qwerty](https://community.glideapps.com/u/qwerty)\
**Post date:** [May 11, 2023, 4:47pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/8 "2023-05-11T16:47:57Z")

</div>

Thank you Darren. I’ve done this and it edits only the row when i click submit ont he edit screen. I wish there was a way to add an action to that edit screen that sends out a push notification when i hit submit. I just added another button besides the “edit status” button that says “send notification” to do this.

---

<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:** [May 11, 2023, 4:54pm UTC](https://community.glideapps.com/t/set-column-value-makes-new-row-instead-of-updating/61592/9 "2023-05-11T16:54:52Z")

</div>

You should be able to create an onSubmit action on your Edit screen to send the notification.
