I've done the memo field approach. The application got so slow that it was unusable. Alas, it was many years ago, so I don't remember how we ended up implementing it.
It should be possible to read the file in chunks using FREAD and process that chunk. If you get part of a line, keep it around and process with the next chunk.
>Admittedly what I've suggested is likely to be a very poor approach (indeed IS going to be SLOWER, use MORE memory AND disc space than what the original poster was using), but it does get around the problem as described where long lines get "wrapped" into separate lines when using APPEND FROM with text file into table. The main problem I see with "wrapped" lines is that there is the likelihood that long lines aren't getting "wrapped" in whitespace, but likely in the middle of "word" items (contiguous blocks of letters, digits), which would likely cause changes in interpretation of the resulting text when re-exported back into a text file.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer