Merging a Document with Three Optional Fields

DocumentID: 609017
Revision Date: 29-Feb-96 1:33:56 PM

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

Problem

Solutions: FYI: The customer imported a file from a database which had the following fields: Mr{END FIELD} &{END FIELD} Mrs{END FIELD} Brown{END FIELD} Fields one and two would sometimes be blank or fields two and three would be blank. The following syntax merged this file correctly. {IF NOT BLANK}2~{FIELD}1~ {FIELD}2~ {FIELD}3~ {FIELD}4~{ELSE} {IF BLANK}1~{FIELD}3~ {FIELD}4~{ELSE}{FIELD}1~ {FIELD}4~{END IF}{END IF} During a merge all formatting commands the merge encounters in the primary file transfer to the new file. If you are attempting to prevent a blank line, the [HRt] code needs to be between the {IF NOT BLANK} and the {END IF} commands.

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.