This topic is locked

Prevent field from deleting

12/14/2010 4:19:44 AM
ASPRunnerPro General questions
B
boomer3828 author

Hello,
Is it possible to prevent fields from deleting.

I have a database that has to be cleaned every week except for 2 fields.

So when a user deletes a record, the record will be deleted except those two fields.
Thanks in advance.

Sergey Kornilov admin 12/14/2010

When record is deleted - it's gone. It's not possible to keep two fields.
I would suggest to store a copy of record in another table before it's deleted. For this purpose you can use BeforeDelete event and 'Insert record into another table' sample action.