MailMergeViewData, MailMergeViewData()

Syntax

MailMergeViewData [DisplayResults]

MailMergeViewData()

Remarks

The MailMergeViewData statement controls the display of merge fields in a main document. If the active document is not a main document, an error occurs.

Argument

Explanation

DisplayResults

Specifies whether to display merge field names in chevrons (« ») or information from the current data record in place of the merge fields:

0 (zero) Merge field names

1 Information from the current data record


The MailMergeViewData() function returns 0 (zero) if merge field names are displayed and 1 if information from the current data record is displayed.

See Also

MailMergeEditDataSource