As I said in post #13 the number of records in the linked source table determines the number of times the code loops. If you want to cut down on that we need to filter the linked source file, I guess that filter would need to be based on what's in the local destination file. I need to think about this one a bit. I'll try to get you an answer soon.