Page 1 of 1

How to make delete button not really delete?

Posted: Wed Feb 07, 2024 1:21 am
by ASHKAR

Hello :)

How to make delete button not really delete data from DB, but just write the time of delete and hide from users?


Re: How to make delete button not really delete ?

Posted: Wed Feb 07, 2024 9:21 am
by arbei

You can only customize the generated code, or you may add your own custom action (see Example 3) for user to choose either delete or just archive.


Re: How to make delete button not really delete ?

Posted: Wed Feb 28, 2024 5:27 am
by daveb

I have tables that have records that should not be deleted, so I check off the delete options and have added an "Activated" field in each table which can be turned on/off. Then I changed all the regular searches by adding 'Activated' = "Y" to the where clauses of filters