Wow you guys are giving me lots to study! Much appreciated.
@The_Doc_Man here are the results from your test: Access memory started at 13.7 MB and after starting the procedure slowly walked up finally stopping at 964.9 MB when the out of memory error occurred. This process is consistently taking about 45 seconds.
@isladogs thanks for fixing that, I don't even know what code tags are. I played with the "Toggle BB code" and thought I was doing it right, but now that I look at all the options that it makes available I see a "</>" icon that I think you're referring to. I'm guessing I'm supposed to click that before typing any code? Sorry, I'm totally new to this.
@arnelgp I actually did consider this a while back. The reason I chose not to was more out of wanting to force myself to do this whole thing through code in an attempt to learn, treating it as partly an academic project (even though this is a real life problem I'm trying to solve). I wanted to see if I could get it down so far as click one button and walk away. With that said, I have done exactly as you suggested, took me a while to work through this one. I set up an import template for all the field names and string lengths. Then I converted the ADO MasterRS to a DAO and opened the imported table into this recordset (just so I could test right now without having to rewrite the entire rest of my code). After that I had to go through my code and work out all the new syntax errors that didn't jive with the DAO rules. But it worked using my smallest sample file; slight caveat, the output values are only being produced for the first record, no worries, I'll go through my code later and fix this when I have more time. The important part is I have a running code now. So then I ramped up to the full sized file, which took only 55 sec to import. Then I ran the code once more and WAA LAA!!! It runs to completion!!! And only took 2 min 31 sec! I'm fairly confident that this time will still stand after I work out my new little bug with the data output because it looks like it's still running through all the loops and everything else normally. So let me finish tweaking this and I'll report back on the final time. This was a huge concern of mine, and I was just hoping to keep it under 30 min, imagine how excited I am now!
@Isaac done, both are now DAO
@CJ_London I will look into this later when I have more time, I would like to learn more about this idea.
@Galaxiom same comment, I'll have to look at this later when I have more time.
Thank you all once again!