>>I was thinking that I can append result into the cursor, but I haven't yet tried.
>
>Oh, right, that would probably be much faster than a loop.
>
>If you decide to use this method, don't forget to replace "output.txt" with a random filename, to avoid multiuser conflicts.
I'm too tired right now to try. For now I just modified the original code to use SYS(2000) and added an extra check for lcMask $ lcFile inside DO WHILE loop.
Tomorrow I have to work on other things, but if I can get a minute, I try run approach.
If it's not broken, fix it until it is.
My Blog