Microsoft KB Archive/63687

-

{| The information in this article applies to:
 * width="100%"|
 * Microsoft Word for the Macintosh, versions 3.0, 3.01, 3.02, 4.0, 5.0, 5.1, 6.0

SUMMARY
To set up a print merge in Microsoft Word for the Macintosh that involves comparison of a date field in a data document to a specific date (such as today's date), the month, day, and year must be compared individually. That is, the date field in the data document must be split up into month, day, and year fields, as in the following example.

Month  Day    Year     Name --

5      21     1990     John 6      21     1990     David 7      21     1990     Sue The main document must also compare the year, month, and day fields against the specified date using embedded IF statements, as follows: <> <> <>

<=< >>> <=< >>> <=< >>> < >  <> <> <>

MORE INFORMATION
For more information on using Word's print merge feature, see &quot;Merging Documents&quot; on pages 579-656 of the &quot;Microsoft Word User's Guide&quot; version 5.0 manual, or see &quot;Form Letters&quot; on pages 69-91 of the &quot;Reference to Microsoft Word&quot; version 4.0 manual, or see pages 64-92 in the &quot;Reference to Microsoft Word&quot; version 3.0 manual.
 * }

-

Last reviewed: November 17, 1997

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.