I am running through a table recordset which holds a record of directories and sub directories on a drive, and wordfiles existing in them. My first problem is idenifying whether a directory or subdirectory still exists on a pc. I am using the syntax below. However if rst("SDIDOC")equals c:\Test, then i need to add a "\" at the end for the code to work, but my problem is it only seems to veryfy the directory existing if their is a file in it. If the directory is empty, but does exist, then my code thinks it's not there. Why? Thanks
strFullName = rst("SD1DOC")
If Dir(strFullName) = "" Then
strFullName = rst("SD1DOC")
If Dir(strFullName) = "" Then