>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?
Hi Craig,
Because you are passing 3 parameters, I am guessing you're asking about STRTOFILE() and not FILETOSTR(). Having said that, if the file is read-only, it will fail. Also, if using VFP 7 and multiple users attempt to do this at the same time, it could fail.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao