Delete the data from a table of a dating application

@Jeff_Hager I decided to give this a try in my Custom Forms 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 :wink:

1 Like