![]() |
Global Select - Not Recognizing Forward Slash |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Symptoms: Performing a global select is not working correctly. In 395 out of 510 records, Field 15 contains the data 1040 - 4/15. The customer tried defining Select in the following ways: 1. keyg=1040 * keyg=4/15 0 records selected 2. keyg=1040 * keyg=4 * keyg=15 0 records selected 3. keyg=1040 * keyg=4 398 records selected 4. Set up key1 and key2 to look at the 2nd and 3rd words on line 1 in Field 15 and the define Select as keyg=1040 * key1=4 * key2=15 395 records selected If the customer includes a space in the Select statement (e.g., keyg=1040 * keyg=4 15), the error "Incorrect Format" appears. If the forward slash (/) is considered a word separator and this is why the first Select statement is not working correctly, the "Incorrect Format" error should appear when the customer uses it, too. Solutions: On page 631 of the WordPerfect 5.1 manual under "Dates," it points out that the forward slash (/) is considered a word separator. So the logic in step #4 is correct. Otherwise, WP only examines the 4/ and not the 15. You cannot use the keyg because the number 15 will never be found so 0 records are selected. To work around this problem the customer can use Search and Replace to replace 4/15 with something like 4$15, set up the Select statement as keyg=1040 * keyg=4$15, and do the sort. After WP selects the correct records, the customer could use Search and Replace to replace 4$15 with 4/15. Status: Reviewed ***|reviewed|*** Press Enter on link token to view statement. |
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. |