Top Navigational Bar

List Files - Name Search With Macro Causes Se
DocumentID: 626663
Revision Date: 29-Feb-96 1:41:39 PM

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

Problem

Symptoms: Using List Files Name Search in macros causes a problem in WP 5.1+. You can record a macro and perform the name search successfully, but when you play the macro, Name Search reports a "Not Found" condition at the second character.

The customer searched for the text SUMM.DOC. This text appeared in two filenames in List Files (DOCSUMM.DOC and SUMM.DOC). The customer used the {SYSTEM}entry~ macro command to test the filename after searching for it. In WP 5.1+, {SYSTEM}entry~ returns only the ROOT of the filename, but ignores the extension.

The following information describes other problems regarding {SYSTEM}entry~ in List Files:

In WP 5.1 (not WP 5.1+), {SYSTEM}entry~ reported ".Current" and "..Parent" if you were on the respective directories in Short mode; it would report "." and ".." if you were on the respective directories in Long mode. In WP 5.1+, however, {SYSTEM}entry~ returns NOTHING if you are on Current or Parent.

In WP 5.1+, if you sort by anything other than Short Filenames, {SYSTEM}entry~ contains garbage characters before the filename root. Of course, if you try Name Search in any other Sort mode, it doesn't work, but it does not produce a trappable error condition either. Solutions: Customers reporting this problem should be sent new WP 5.1+ diskettes. The original files are stamped with 5:11 a.m. The fixed version files are stamped with 5:11 p.m.

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.