Hi,
What is the best place to log data into history/audit table before record is deleted please??
If I do this in Before_Delete event, then I've to delete the record from history/audit table if user presses Cancel on delete confirmation box.
If I use After_Delete, then it'll be too late.
In my understanding, I create a temporary table, saves table values there and then copy those values to audit/history table in after delete confirm table and remove the table.
Is there a standard way to do this without introducing this intermediary table please?
Thanks,
K
What is the best place to log data into history/audit table before record is deleted please??
If I do this in Before_Delete event, then I've to delete the record from history/audit table if user presses Cancel on delete confirmation box.
If I use After_Delete, then it'll be too late.
In my understanding, I create a temporary table, saves table values there and then copy those values to audit/history table in after delete confirm table and remove the table.
Is there a standard way to do this without introducing this intermediary table please?
Thanks,
K