# Relation between tables

**URL:** https://community.glideapps.com/t/relation-between-tables/75243
**Category:** Ask for Help
**Created:** [July 29, 2024, 3:36pm UTC](https://community.glideapps.com/t/relation-between-tables/75243 "2024-07-29T15:36:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Naima\_ABDOUNE](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/naima_abdoune/32/78129_2.png) [@Naima\_ABDOUNE](https://community.glideapps.com/u/Naima_ABDOUNE)
#### Post date: [July 29, 2024, 3:36pm UTC](https://community.glideapps.com/t/relation-between-tables/75243/1 "2024-07-29T15:36:13Z")

</div>

hello  
I have two tables, cars and invoices. I want that when I delete a car, it automatically deletes the invoices related to that car. Please note that I am using Glide tables (free version).

Thanks

---

<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: [July 29, 2024, 3:49pm UTC](https://community.glideapps.com/t/relation-between-tables/75243/2 "2024-07-29T15:49:20Z")

</div>

Create a multiple relation in the Cars table linking the car to the invoices. Then set up your Delete action as a custom action that first deletes all rows in the relation, followed by deleting the car row.
