Hi Marc,
Thank you.
This is what I needed: "Seek the ID in the dbf. If found, start a second loop as long as the ID = OLDID and change the data. Exit the second loop and process the CSV for next values"
It was the second loop that I was missing. This should run much much faster