Microsoft KB Archive/118902

-

{| The information in this article applies to:
 * width="100%"|
 * Microsoft Word for the Macintosh, version 6.0

SYMPTOMS
When you use the WordBasic FindFile command for a search that returns many files, the CountFoundFiles function may return 0 even though there are a large number of matching files.

CAUSE
The CountFoundFiles function creates a temporary file that contains a list of the files found. By design, the size of this file is limited to 100 files. If there is not enough space on your hard disk drive for the temp file, the CountFoundFiles function returns 0, even though there may actually be, for example, 200 matching files.

NOTE: This temporary file is left on the hard disk drive until the next FileFind search. You can reduce the size of this file by performing a new FindFile search with a more limited search criteria.

WORKAROUND
Narrow your search criteria to reduce the number of files found.
 * }

-

Last reviewed: February 3, 1998

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.