ACC2000: No Match Results in FileSearch When Adding FileType (208811)
The information in this article applies to:
This article was previously published under Q208811 This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Advanced: Requires expert coding, interoperability, and multiuser skills.
SYMPTOMS
When you search for file extensions by using the FileType property of the FileSearch object, certain file extensions may return a "files found = 0" message, even though the information does exist.
For example, this behavior occurs if you search for information on any of
the following file extensions:
CAUSE
When you search for files that are hidden by default by Windows, they are
excluded from indexing and content searching if the FileType property is included.
RESOLUTION
Do not include the FileType property if the file extension is not normally found in the Files of type box in the File Open dialog box. See the "Steps to Reproduce Problem" section of this article for an example of code that will search for these file types properly.
REFERENCESFor more information about the FileSearch object, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type FileSearch object in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 12/16/2002 |
---|
Keywords: | kbdta kbprb KB208811 |
---|
|