is their a way to empty a table when you close it???? So the records ge deleted when you close the table