Unfortunately, that didn't work. Same error message. I am basically trying to delete the records from the SO table, which are present in SOupdate table. I am using this query as an undo function on a form. SOupdate was populated with data from a file and in the event the user accidently runs the...