![]() |
lefty 9/7/2019 |
Hello All, I have this code:
|
![]() |
Tandy author 9/8/2019 |
If your trying to delete records in one table and archive to another table upon delete in the list page ,use $deleted_values not $oldvalues. That is why the auto ID is the only thing getting generated? Reason being , once the record is added it is too late to grab the old value. So therefore we use $deleted_values on the list page to take a current record and do something with it. In your case it is Archive it , so we use $deleted_values on the list page to archive in an event.
|