>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