Thanks guys. The reason I check a table which I have just deleted is that I am trying to add records to a blank table in a loop, which, the first time round will be empty, but subsequently will definitely have records. If the key of the records is the same I just want to update. I will try the...