Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILETOSTR() problems
Message
 
 
To
26/07/2001 12:31:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00535843
Message ID:
00535850
Views:
10
>I have a situation where FILETOSTR() sometimes fails. THe call is:
>
>FILETOSTR("My text", "MyFile.Txt", .F.)
>
>Any ideas what could cause this to fail?

FileToStr() only accepts 1 parameter. Do you mean StrToFile()? Since the default is to over-write, you do not really need the 3rd parameter. You could also check to see if the file exists. If it does, check the atributes to make sure an existing file can be over-written.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform