MailMergeDataField Object Members
Publisher Developer Reference |
Represents a single merge field in a data source. The MailMergeDataField object is a member of the MailMergeDataFields collection. The MailMergeDataFields collection includes all the data fields in a mail merge or catalog merge data source (for example, Name, Address, and City).
Methods
Name | Description | |
---|---|---|
AddToRecipientFields | Adds the parent MailMergeDataField object from a particular data source to the master data source (collection of data fields) for a mail-merge publication. | |
Insert | Adds a Shape object that represents a picture data field inserted into the publication's catalog merge area. | |
MapToRecipientField | Maps a field (column) in a particular data source represented by the parent MailMergeDataField object to a recipient field (column) in the master data source (combined mail-merge recipient list). | |
UnMapRecipientField | Undoes the mapping between the parent MailMergeDataField object in a particular data source and the recipient field in the master data source (combined mail-merge recipient list) to which it is currently mapped. |
Properties
Name | Description | |
---|---|---|
Application | Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application. | |
Creator | Returns a Long that represents the application in which the specified object was created. For example, if the object was created in Microsoft Publisher, this property returns the hexadecimal number 4D505542, which represents the string "MSPB." This value can also be represented by the constant. | |
FieldType | Returns a pbMailMergeDataFieldType constant that represents the type of data contained in the data field. | |
Index | Returns a Long that represents the position of a particular item in a specified collection. | |
IsMapped | Indicates if the parent MailMergeDataField object is mapped to a recipient field in the master data source (combined mail-merge recipient list). Read-only. | |
MappedTo | Returns the name of the recipient field (column) in the master data source (combined mail-merge recipient list) that the parent MailMergeDataField object is mapped to. Read-only. | |
Name | Returns a String value indicating the name of the specified object. Read-only. | |
Parent | Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only. | |
Value | Returns a String that represents the value of a mail merge data field record or a mapped data field. Read-only. |