NEXTIF
Syntax:
NEXTIF Expression-1 Operator Expression-2
Expression-1:expression
Expression-2:expression
Description: Compares the values designated by Expression-1 and Expression-2 using the operator designated by Operator. If the comparison is true, the next data record is merged into the current merge document. (Merge fields that follow the NEXTIF
in the main document are replaced by values from the next data record rather than the current data record.) If the comparison is false, the next data record is merged into a new merge document.
Operator can be any one of the six relational and equality operators specified for operator (§2.16.3.3).
A NEXTIF
fields shall NOT be used in a footnote, an endnote, annotation, a header, a footer, or a data source. A NEXTIF
field shall NOT be nested within any field.
Field Value: None.
Switches: None.