>Hi
>
>I'm using these commands to get rid of the double quotes in a text flat file. The code works accept when the file contains more than +/- 2000 records (lines) the vfox session hangs (NOT RESPONDING). Is there a limit or do I need to include in my code a command that tells vfox to wait until the FileToStr command is done? Please help...
>
>The command that causes the programto hang is:
>StrToFile(chrtran(FileToStr('c:\tmp\wtbsold.txt'),'"',''),'c:\tmp\wtbsold.txt')
>
>Thank you
>
>Irene Grassow
Hi Irene,
Check FAQ section, where I described the method I used for removing double quotes (you should find this FAQ in recent entries).
FileToStr is limited by 16MB. Chrtran function in this content contains a bug, which is discussed in Fox WiKi forum.
If it's not broken, fix it until it is.
My Blog