Syntax
MailMergeGotoRecord RecordNumber
MailMergeGotoRecord()
Remarks
If merged data is visible in the main document, the MailMergeGotoRecord statement displays a merge document for the data record corresponding to RecordNumber. Note that RecordNumber is the position of the record in the query result produced by the current query options, and is therefore not necessarily the position of the record in the data source.
The MailMergeGotoRecord() function returns the number of the data record currently displayed. If the active document is not a main document, both the statement and the function generate an error. For an example using MailMergeGotoRecord(), see MailMergeFindRecord.
See Also
MailMergeFindRecord, MailMergeFirstRecord, MailMergeLastRecord, MailMergeNextRecord, MailMergePrevRecord, MailMergeViewData