*------------------------------------------------------------- * This function is better at detecting the presence of a file. FUNCTION FileExists(FileName) RETURN !EMPTY(ADIR(laDir,FileName)) ENDFUNC *------------------------------------------------------------->I'm using VFP7 SP1.