>In a home-grown backup program I have the following lines of code:
>
>
>IF FILE(lcDestFile)
> IF FDATE(lcSourceFile,1) > FDATE(lcDestFile,1)
> * copy source file to destination file
>
>
>Can anyone suggest why they would work fine interactively or run from source code within VFP (7.0 SP1), but the second FDATE() function causes a "File does not exist" error when run from a compiled EXE?
>
Do the values for the lcDestFile and lcSourceFile variables contain the full path? Is the source file contained/built into the exe?
Personally, I do not like to use VFP's FILE() function. Read Message #
611424 for an alternative.