Thank you so much the code you provided worked perfectly, I just have to replace it to create 30 some similar variables. In your response you mentioned: "As to memory issues, you probably could populate the hash one ID at a time, process all the records for that id, and then clear the hash object in preparation for the next id. In that case you could just use DATE as the hash key." for my learning purposes, how would the hash code provided above change to reflect on the approach you suggested. Best Regards, Melsaid
... View more