MailMergeDataSource.ActiveRecord Property

Returns or sets the active mail merge data record.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property ActiveRecord As WdMailMergeActiveRecord
    Get
    Set
'Usage
Dim instance As MailMergeDataSource
Dim value As WdMailMergeActiveRecord

value = instance.ActiveRecord

instance.ActiveRecord = value
WdMailMergeActiveRecord ActiveRecord { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdMailMergeActiveRecord

Remarks

The ActiveRecord property can be either a valid data record number in the query result or one of the WdMailMergeActiveRecord constants.

The active data record number is the position of the record in the query result produced by the current query options; as such, this number isn't necessarily the position of the record in the data source.

See Also

Reference

MailMergeDataSource Interface

MailMergeDataSource Members

Microsoft.Office.Interop.Word Namespace