# Delete multiple rows at the same time

**URL:** <https://community.glideapps.com/t/delete-multiple-rows-at-the-same-time/60885>\
**Category:** Ask for Help\
**Created:** [April 23, 2023, 3:15pm UTC](https://community.glideapps.com/t/delete-multiple-rows-at-the-same-time/60885 "2023-04-23T15:15:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Duran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adrian_duran/32/57971_2.png) [@Adrian\_Duran](https://community.glideapps.com/u/Adrian_Duran)\
**Post date:** [April 23, 2023, 3:15pm UTC](https://community.glideapps.com/t/delete-multiple-rows-at-the-same-time/60885/1 "2023-04-23T15:15:14Z")

</div>

I have an order number **PED:0001** and there are 4 items in this order. The question is: the client cancels the order and I must delete all the items from this order PED:0001, how do I physically delete these 4 items from the table in my example: I appreciate your help in advance, friends of Glide.

---

<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:** [April 23, 2023, 3:17pm UTC](https://community.glideapps.com/t/delete-multiple-rows-at-the-same-time/60885/2 "2023-04-23T15:17:44Z")

</div>

If you create a multiple relation from the Order to the Items, you can delete all Items through that relation. If you also need to delete the Order, I would suggest using a custom action as follows:

- Delete Rows via multiple relation (delete all order items)
- Wait for condition → multiple relation is empty
- Delete Row (Order)

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [April 23, 2023, 4:27pm UTC](https://community.glideapps.com/t/delete-multiple-rows-at-the-same-time/60885/3 "2023-04-23T16:27:38Z")

</div>

I would suggest not creating rows for each item in the order. Add the order ID to the items list in the USC column, delete IDs individually, or to cancel the whole order… delete the order ID… which will make existing IDs in the items list irrelevant.

---

<div class="post-metadata">

**Author:** ![Lucas\_Malguy1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_malguy1/32/54607_2.png) [@Lucas\_Malguy1](https://community.glideapps.com/u/Lucas_Malguy1)\
**Post date:** [April 24, 2023, 9:52am UTC](https://community.glideapps.com/t/delete-multiple-rows-at-the-same-time/60885/4 "2023-04-24T09:52:10Z")

</div>

Great tips @Darren_Murphy , I haven’t thought about it before, thanks for sharing!
