S
snafus87
Hello,
I have a recordset that has a list of file names and folder names. I
have the parent directory fixed. What I need to do is search through
the parent directory. If this folder with the name from the recordset
doesn't exits I need to create it. I can't figure out how to do this
in code. I'm using Access 2003 VBA.
Some more specific details:
recordset is query opened with 2 fields (FileName and FolderName)
myParentFolder = "G:\RR\Prod Info\Scanned Data\"
mySubFolder = rs.FolderName
I want to search myParentFolder for mySubFolder. If mySubFolder
doesn't exits, I need to create it.
I was thinking something along the line of a With
Application.Filesearch.SearchFolders
Thoughts? Thanks in advance.
I have a recordset that has a list of file names and folder names. I
have the parent directory fixed. What I need to do is search through
the parent directory. If this folder with the name from the recordset
doesn't exits I need to create it. I can't figure out how to do this
in code. I'm using Access 2003 VBA.
Some more specific details:
recordset is query opened with 2 fields (FileName and FolderName)
myParentFolder = "G:\RR\Prod Info\Scanned Data\"
mySubFolder = rs.FolderName
I want to search myParentFolder for mySubFolder. If mySubFolder
doesn't exits, I need to create it.
I was thinking something along the line of a With
Application.Filesearch.SearchFolders
Thoughts? Thanks in advance.