Knowledge Base

Mail Merge fields show as {DOCVARIABLE...\ * MERGEFORMAT}

Hint Ref: 020812030002
Hint Date: 03/12/2008

Hint Details:

ISSUE:

 

When inserting mail merge fields onto a document, the display shows something like:

{DOCVARIABLEcus_Fullname\ * MERGEFORMAT}

This is a display issue, when printing out the document the results are fine. On the display, to view the fields properly, you can right-click on the field (might be worth selecting all first) and click 'Toggle Field Codes'.

SOLUTION:

To stop this display from happening altogether, you can click on Word's Page Setup properties (page layout tab), click the Paper tab, click Print Options..., click advanced, untick the box 'Show field codes instead of their values'. On versions of Word pre-2007, the setting would be in a similar location.


(Please Note: This Procedure can be destructive and should only be used by Advanced Users.  RADical Systems (UK) Limited or its Partners cannot be held responsible, in anyway, for any consequence of using this or any other Database Function, Procedure or SQL command.  Responsibility resides solely with the user.  

IT IS HIGHLY RECOMMENDED THAT A FULL AND VALID SPACE MANAGER DATABASE BACKUP IS TAKEN AND VERIFIED AS VALID BEFORE MAKING ANY CHANGES TO THE DATABASE.)