Microsoft KB Archive/32896

Extra Next Statement in Print Merge Skips Records

PSS ID Number: Q32896 Article last modified on 11-02-1994

4.00 5.00 5.50 6.00

MS-DOS

= SUMMARY =

In Microsoft Word it is possible to put extra NEXT statements into a print merge document without generating error messages. However, when the print merge is completed, one record from the database will be skipped for every extraneous NEXT statement in the main document.

This problem occurs because the NEXT statement causes the record pointer to advance one record. If you have a NEXT statement without any accompanying data fields to be printed, the record pointer will advance to the next record and not print anything for the current record.

KBCategory: kbother KBSubcategory: Additional reference words: wdmerge erratic ============================================================================= Copyright Microsoft Corporation 1994.