Top Navigational Bar

Merge One Secondary File With Multiple Prim
DocumentID: 635028
Revision Date: 29-Feb-96 3:03:44 PM

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

Problem

Solutions: This is a sample merge file for merging one secondary file with multiple primary files. The primary file used is based on what is in field one of the current record:

Starting Primary File:

{SUBST PRIMARY}fil{FIELD}1~~


An example of one of several primary files is below:

This is the one primary file.

{FIELD}1~{NEXT RECORD}
================================================================
{SUBST PRIMARY}fil{FIELD}1~~


Secondary File:

One {END FIELD}
{END RECORD}
=================================================================
Two {END FIELD}
{END RECORD}
=================================================================
Three {END FIELD}
{END 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.