# Auto delete

**URL:** https://community.glideapps.com/t/auto-delete/68341
**Category:** Ask for Help
**Tags:** actions
**Created:** [December 4, 2023, 8:18am UTC](https://community.glideapps.com/t/auto-delete/68341 "2023-12-04T08:18:58Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Denis1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/denis1/32/65827_2.png) [@Denis1](https://community.glideapps.com/u/Denis1)
#### Post date: [December 4, 2023, 8:18am UTC](https://community.glideapps.com/t/auto-delete/68341/1 "2023-12-04T08:18:58Z")

</div>

Am making an app where the user have to keep on changing the items they have on the list and details daily. So an auto delete would be much better for me so as not to keep on editing instead.  
Could it be possible to auto delete items after a certain period of time.

---

<div class="post-metadata">

### Author: ![AdamMartin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/adammartin/32/66650_2.png) [@AdamMartin](https://community.glideapps.com/u/AdamMartin)
#### Post date: [December 4, 2023, 10:20am UTC](https://community.glideapps.com/t/auto-delete/68341/2 "2023-12-04T10:20:31Z")

</div>

you could have a column that has a date… if that date doesn’t match today - then don’t display the entries.

---

<div class="post-metadata">

### Author: ![Alpha\_University](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alpha_university/32/91520_2.png) [@Alpha\_University](https://community.glideapps.com/u/Alpha_University)
#### Post date: [December 4, 2023, 10:38am UTC](https://community.glideapps.com/t/auto-delete/68341/3 "2023-12-04T10:38:21Z")

</div>

Are you using Google Sheets as the database? @Denis1

---

<div class="post-metadata">

### Author: ![Denis1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/denis1/32/65827_2.png) [@Denis1](https://community.glideapps.com/u/Denis1)
#### Post date: [December 4, 2023, 11:21am UTC](https://community.glideapps.com/t/auto-delete/68341/4 "2023-12-04T11:21:58Z")

</div>

Am using glide tables

---

<div class="post-metadata">

### Author: ![Denis1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/denis1/32/65827_2.png) [@Denis1](https://community.glideapps.com/u/Denis1)
#### Post date: [December 4, 2023, 11:24am UTC](https://community.glideapps.com/t/auto-delete/68341/5 "2023-12-04T11:24:23Z")

</div>

I was thinking of the same but the number of rows meant to be made by end user is massively big. So that might not work for my case.

---

<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: [December 4, 2023, 12:13pm UTC](https://community.glideapps.com/t/auto-delete/68341/6 "2023-12-04T12:13:43Z")

</div>

> [@Denis1](#):
>
> Could it be possible to auto delete items after a certain period of time.

You could set it up so that the oldest item is deleted every time a new item is added.

- Use a rollup column to find the item with the oldest date
- Use that value to create a single relation to the oldest item
- Use an onSubmit action to delete that item when a new item is added

---

<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: [March 28, 2024, 10:21am UTC](https://community.glideapps.com/t/auto-delete/68341/7 "2024-03-28T10:21:35Z")

</div>

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