Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/39184

From BetaArchive Wiki

Word: Searching for Documents with Logical Operators

PSS ID Number: Q39184 Article last modified on 11-02-1994

4.00 5.00 5.50 6.00

MS-DOS

SUMMARY

When you use the Library Document-Retrieval command in Microsoft Word version 4.0 or 5.0 to search for a document, logical operators can be used within any field (except “path:” and “case:”) to refine the search criteria and narrow the list of documents that Word finds.

To search for a document in Word version 5.5, from the File menu, choose File Management, and choose the Search button. Logical operators can also be used in Word 5.5.

MORE INFORMATION

The following is a list of the logical operators in their order of precedence:

Character To Specify the Following ——— ————————

           Note: When searching, do not include the quotation marks
      from the following examples.

, (comma) Or Example: “Bob,Pete” tells Word to search for Bob or Pete.

& or space And Example: “Bob&Pete” tells Word to search for both Bob and Pete. “Rose Johnson” tells Word to search for both Rose and Johnson. “Rose Johnson” with the quotation marks tells Word to search for Rose Johnson (for example, Ms. Rose Johnson).

~ (tilde) Not Example: “Pete~Peterson” tells Word to search for Pete only, not Peterson.

< Less than (in dates only) Example: “<3/1/86” tells Word to search for dates earlier than March 1, 1986.

         Greater than (in dates only)

Example: “>3/1/86” tells Word to search for dates later than March 1, 1986.

The following wildcard characters can be used in the “path:”, “author:”, “operator:”, “keywords:”, and “document text:” fields in Word versions 4.0 and 5.0, or in the File Management Search boxes (except Date Created and Date Saved) in Word 5.5:

Character To Search for the Following ——— —————————

? Any single character in the question mark’s position. Example: “f?d” searches for fad, fed, or other similar combinations. “?” searches for any character in the first position (anything entered in the field).

  •          One or more characters in the asterisk's position.
             Example: "w*d" searches for wad, wood, word, weird.

The ? (question mark) character should be used for searching for anything in the field. The * (asterisk) character is meant to be used in conjunction with other characters.

To search for a question mark or asterisk, you must precede it with a caret (^? and ^*). To search for a caret, type two carets (^^).

For more information on querying in Document-Retrieval, see pages 36-38 of the “Reference to Microsoft Word” version 4.0 manual (spiral bound) or pages 41-43 in the “Reference to Microsoft Word” version 5.0 manual.

For information on querying from the File Management Search dialog box in Word 5.5, see pages 263-267 of the “Using Microsoft Word” version 5.5 manual.

KBCategory: kbother KBSubcategory: Additional reference words:

============================================================================= Copyright Microsoft Corporation 1994.