DougAtAvalon
Programmer
The following code works fine at one computer but not on another. Ther problem is the ".lookin" line is not reading the object. I also tried to set it to a string variable. It seems the lookin is "stuck" on some setting of "c:/winnt/...". Any ideas?
thanx
-Doug
************
With Application.FileSearch
.NewSearch
.lookin = Forms![Organizations].Form.CompletedQuestionnairesPath
.SearchSubFolders = False
.Filename = "*.doc"
.MatchTextExactly = False
If .Execute() > 0 Then
If .FoundFiles.Count > 1 Then
For i = 1 To .FoundFiles.Count
.
.
.
thanx
-Doug
************
With Application.FileSearch
.NewSearch
.lookin = Forms![Organizations].Form.CompletedQuestionnairesPath
.SearchSubFolders = False
.Filename = "*.doc"
.MatchTextExactly = False
If .Execute() > 0 Then
If .FoundFiles.Count > 1 Then
For i = 1 To .FoundFiles.Count
.
.
.