Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on FileToStr() and ChrTran() functions
Message
 
 
To
10/05/2001 05:35:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00505649
Message ID:
00505802
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform