NEXTIF expression1 operator expression2

Compares two expressions. If the comparison is true, Microsoft Word merges the next data record into the current merge document. Merge fields that follow the NEXTIF field in the main document are replaced by values from the next data record rather than the current data record. If the comparison is false, Word merges the next data record into a new merge document.


expression1
operator
expression2

REMARKS
* Don't use the NEXTIF field in the current version of Word. You can select data records more easily by using the Mail Merge Recipients dialog box, which appears when you connect to a data source during a mail merge.
* NEXTIF fields cannot be used in footnotes, endnotes, annotations, headers, footers, or data sources. The NEXTIF field cannot be nested within any field.
* For the Microsoft documentation refer to support.microsoft.com

Examples

{ NEXTIF bookmark > 100 }

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top