By "deleting" a precise record it hides it from a table in the user's view, but it must remain in the database.
I put a field called ' status
' in the table that manages just that.
In the view I put a ' if
' that performs the filter at the time of 'select'. Showing only records with ' status == 1
'.
So far so good, my problem is to give ' update
' to just change the value of ' status
' from 1 to 0. At the moment the user chooses to delete.