# Delete the data from a table of a dating application

**URL:** https://community.glideapps.com/t/delete-the-data-from-a-table-of-a-dating-application/38993
**Category:** Ask for Help
**Created:** [February 26, 2022, 1:19pm UTC](https://community.glideapps.com/t/delete-the-data-from-a-table-of-a-dating-application/38993 "2022-02-26T13:19:00Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [February 26, 2022, 5:39pm UTC](https://community.glideapps.com/t/delete-the-data-from-a-table-of-a-dating-application/38993/6 "2022-02-26T17:39:11Z")

</div>

> [@Jeff\_Hager](#):
>
> I’ve considered doing something like this in my app to clean up old data.

@Jeff_Hager I decided to give this a try in my [Custom Forms](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014) demo app. Because that one gets linked to a lot, it tends to accumulate quite a bit of “garbage data” as folks try it out. I used to periodically clean out junk rows, and then a few months ago I got sick of doing that, so I implemented a system where the original half dozen or so rows were kept “sticky”, and any new ones added would disappear after a day. That worked fine, but it didn’t stop the accumulation of garbage data - it just swept it under the carpet.

So I just quickly applied the technique you described here, and it seems to work like a charm. I’ve attached it to the Save new animal button, so now every time somebody creates a new record, an old one gets nuked.

I can foresee myself using this technique in quite a few apps moving forwards 😉

---

_[View the full topic](https://community.glideapps.com/t/delete-the-data-from-a-table-of-a-dating-application/38993)._
