Microsoft KB Archive/37272

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:21, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q37272 to Microsoft KB Archive/37272 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

MS-DOS

The information in this article applies to:
- Microsoft Word for MS-DOS versions 4.0, 5.0, 5.5, 6.0

SUMMARY

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.

MORE INFORMATION

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:

<<SKIP>>

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:

<<NEXT>>

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.