Microsoft KB Archive/37272
Using SKIP or NEXT Instruction in Print Merge Command
PSS ID Number: Q37272 Article last modified on 11-02-1994
4.00 5.00 5.50 6.00
|The information in this article applies to:|
|- Microsoft Word for MS-DOS versions 4.0, 5.0, 5.5, 6.0|
The following information describes using the SKIP and NEXT instructions with the Print Merge command with Microsoft Word. Examples of their use and syntax are also provided.
The SKIP instruction tells Word to ignore the current record in the data document and to restart the merge process with the following record in the data document. For example, if you combine the SKIP instruction with the IF instruction, you can selectively print records only if their fields contain the information you specify.
The syntax for SKIP is as follows:
The NEXT instruction tells Word to continue printing the same document, but to move to the following record in the data document. A good example of using the NEXT instruction is in printing mailing labels, where more than one label is on a page.
The syntax for NEXT is as follows:
For more information on the SKIP and NEXT instructions, refer to Page 265 of the “Using Microsoft Word” manual for Word version 4.00 and Page 335 of “Using Microsoft Word” for Word version 5.00.
This information is also available in the Word 5.50 manual on pages 314 and 329.
Note: The NEXT and SKIP instructions should not be combined in the same document. Microsoft cannot guarantee the results of using both instructions in the same document.
KBCategory: kbother KBSubcategory: Additional reference words: wdmerge 4.00 5.00 5.50 6.00 ============================================================================= Copyright Microsoft Corporation 1994.