How to make delete button not really delete?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
ASHKAR
User
Posts: 26

How to make delete button not really delete?

Post 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?


arbei
User
Posts: 9384

Post 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.


daveb
User
Posts: 32

Post 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


Post Reply