![]() |
Enhancement - Merging Only Specific Pages Fro |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: Enhancement: A user requested that WordPerfect 5.1 include the capability to merge only specific pages from a secondary file. Answer: The new programmable merge language allows users to select specific pages in secondary files for merging. Each record must contain a field with a record number. The record number would be the same number as the page number. The record number can be compared to a range that is input by the user at merge time. Something similar to the following can be used in the primary merge file to determine whether or not to use specific records for merging. MERGE SYNTAX Reasoning ----------------------------------------------------------- {LABEL}start~ Beginning of label Start {TEXT}start~Enter Starting To obtain starting record Number: ~ {TEXT}end~Enter Ending Number: ~ To obtain ending record {ASSIGN}start~{VARIABLE}start~-1~ To prepare for comparison {ASSIGN}end~{VARIABLE}end~+1~ To prepare for comparison {IF}{FIELD}num~>{VARIABLE}start~| Comparison for record {FIELD}num~<{VARIABLE}end~~ number and range entered {GO}merge~ Starts merge if the record number falls within range {END IF} End comparison statement {GO}start~ To compare next record {LABEL}merge~ To label merge commands enter merge commands here Merge commands for the document |
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. |