Thanks for the help. I knew the code was a little inefficient, but was satisfied since I'm just starting out and it did the job. Of course it's always good to write more efficient code and the previous date solution did cross my mind at one point so I plan on making the changes.
As for insufficient resources, that was the first thing I checked. I monitored the RAM usage and found that it remained pretty constant - only taking up maybe a few kb or MB (Don't remember)RAM, still I had over 100MB RAM free and the drive still has 15GB available, so I don't think it's a resource issue.
I was actually going to try splitting the file if I couldn't find a solution. So I'll probably implement the new code, try that, and then if that fails, I'll just figure out a way to split the file since the file is on a NT box.