Okay, now I see it. I guess I've been lucky then? I've always used wildcards up until now, and it's never been unpredictable.
So then is there any reliable way to check for files in a directory without having to load a directory listing into a file, load into a temp table, etc.? Alot of work when a simple Chkfile always used to work for me... Karen In a message dated 6/14/2012 2:48:52 PM Central Daylight Time, [email protected] writes: > Karen, > Better make that trip to the Opthamologist... ;-) > > From the 6.5 HelpFile: > > "CHKFILE(filename)) > > Checks to see if a file exists. If no path is specified, the function > checks > for the file in the current directory. Otherwise, the function checks for > the file in the specified location. > > The function returns a 1 if the file is found, and 0 if it is not found. > Wildcards in the filename will produce unpredicatable results. " > > From the 9.1 HelpFile: > > "(CHKFILE('filespec')) > Checks to see if a file or folder name exists. If no path is specified, > the > function checks for the file or folder name in the current directory. > Otherwise, the function checks for the file or folder name in the > specified > location. > > The function returns a 1 if the file or folder name is found, and 0 if it > is > not found. Wildcards in the filename will produce unpredicatable results." >

