Top Navigational Bar

Merge - Stopping Prematurely Due To Long IF S
DocumentID: 653562
Revision Date: 29-Feb-96 8:29:24 PM

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

Problem

Symptoms: A customer's merge is not working correctly. The merge file contains about 600 records. When she does the merge, there are about four specific records that stop the merge. If these records are taken out, the merge works correctly. The primary file compares a variable to a field, and from that it decides which label to go to. Solutions: The customer's IF command is too long of an expression. Expressions for IF and ASSIGN statements can only be a maximum of 129 characters. The customer's IF expression was a total of 135 characters. This limit also affects these merge and macro commands: {LEN}, {LOCAL}, {MID}, {WHILE}, {VARIABLE}, {FOR}, {FOR EACH}.

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.