Top Navigational Bar

Sort Select With A Not Statement
DocumentID: 607868
Revision Date: 29-Feb-96 1:32:32 PM

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

Problem

Symptoms: The user is trying to do a sort/select with a "not" statement (a global sort), like this:       *keyg<>fred

The customer wants to pull out any records that do not contain the word fred. WP is selecting every record, including those containing the word fred. Solutions: The way the customer is trying to use the Not Equal To command will not work. When KEYG is in the select section of sort, WP looks at every word in every field in each record. So if the user has defined the statement keyg<>fred, WP will look at all the words in each record, and if it finds a word that is not fred, it will select that record. Therefore, only a record that has one word in one field (in this example "fred") would not appear in the sorted document. Any record with a word besides fred will be selected. Think of the statement being: "If your record is not equal to "fred", include that record."

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.