>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?
Craig,
FILETOSTR only takes the name of the file as the argument and returns the file's contents as a string. Are you confusing this with STRTOFILE? STRTOFILE would take the arguments as you've used them in your example.
Scott
Scott King
The Support Source Corporation