![]() |
IFBLANK And IFNOTBLANK How To Use |
The information in this document applies to:
WordPerfect® 6.1 for DOS
Problem
The IFBLANK and IFNOTBLANK statements are used in conjunction with MERGE functions. They just check to see if the specified field contains information. Then will return a yes or no. The syntax is very similar to an IF statement except the expression checks a field. Here is an example of using both. Field(name) IFNOTBLANK(company)Field(company) ENDIF Field(address) IFNOTBLANK(address)Field(address) ENDIF Field(city), Field(state) Field(zip) Dear IFNOTBLANK(firstname)Field(firstname)ELSE Customer: ENDIF or IFBLANK(name) Field(contact) ELSE Field(name)ENDIF Field(company) Field(address) Field(city), Field(state) Field(zip) |
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. |