Customer Having Problems Using ON NOT FOUND

DocumentID: 652517
Revision Date: 29-Feb-96 8:29:16 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: The customer is using the macro command ON NOT FOUND. On page 905 of the reference manual, the {HPg} command is used to look for a match with Name Search. When the customer used the condition in List Files, whether it found the file or not, the ON NOT FOUND condition was executed. When the customer tried ON NOT FOUND with Ctrl-F8, the paper size/type screen, or styles, the ON NOT FOUND condition was not executed whether the name search found an exact match or not. Although it did perform correctly when the customer tried it on the list of his graphic files. The customer found that if he created a paper size, and searched for his name (i.e., Kevin) and performed the macro with Name Search, it worked correctly. If the customer changed the macro to search only for "K," the macro would not execute the ON NOT FOUND condition but would run the macro as if it found an exact match. If the customer deleted the paper size/type entirely, the macro would execute the ON NOT FOUND condition like it's supposed to. Solutions: One user was able to work around this problem by using a three letter extension on the file name. As long as a file had a three letter extension, the NOT FOUND error would always occur at the first occurance of a character not in any file name. For example, given a file name TEST.TST in the macro, if the search is performed for TEST.TSX, upon execution of the X character, the NOT FOUND error occurs. See also memo WP51_5707E for more information on this problem. Status: Sent to Development ***|sent to dev|*** Press Enter on link token.

Answer:

Details:

Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.