When I delete a record first before inserting a new record, I can do it. But if I insert a new record first then my delete function is not working. Based on my research, it\