How to make delete button not really delete?
Posted: Wed Feb 07, 2024 1:21 am
Hello :)
How to make delete button not really delete data from DB, but just write the time of delete and hide from users?
Hello :)
How to make delete button not really delete data from DB, but just write the time of delete and hide from users?
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.
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