Customize mail merge date and currency formats in detail report Word templates

When using mail merge tables in detail report Word templates, you may run into the difficulty of formatting the date and currency fields. To ensure correct formatting, a format switch can be applied to the merge field.

Customize mail merge field formats

  1. Open the template in Microsoft Word.
  2. Hold the Alt key and press F9 to view the field formats.

    A currency mail merge field will look like {MERGEFIELD “fieldname” \# $#,###,###.00}.

  3. Modify the field switches as needed.
    Ensure that the \* MERGEFORMAT switch is not included in the field.
  4. Optionally, after modifying the field switches, hold the Alt key and press F9 to display the fields instead of the field formats.
  5. Save the template in DOT or DOC format.

Format examples

  • Currency fields: {MERGEFIELD “fieldname” \# $#,###,###.00}
  • Date fields: {MERGEFIELD “fieldname” \@ "MMMM d, yyyy"}
  • Phone number fields: {MERGEFIELD “fieldname” \# ###'-'###'-'####}