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
Aa438632.methods(en-us,office.12).gif 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.
Aa438632.methods(en-us,office.12).gif Insert Adds a Shape object that represents a picture data field inserted into the publication's catalog merge area.
Aa438632.methods(en-us,office.12).gif 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).
Aa438632.methods(en-us,office.12).gif 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
Aa438632.properties(en-us,office.12).gif 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.
Aa438632.properties(en-us,office.12).gif 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.
Aa438632.properties(en-us,office.12).gif FieldType Returns a pbMailMergeDataFieldType constant that represents the type of data contained in the data field.
Aa438632.properties(en-us,office.12).gif Index Returns a Long that represents the position of a particular item in a specified collection.
Aa438632.properties(en-us,office.12).gif 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.
Aa438632.properties(en-us,office.12).gif 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.
Aa438632.properties(en-us,office.12).gif Name Returns a String value indicating the name of the specified object. Read-only.
Aa438632.properties(en-us,office.12).gif 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.
Aa438632.properties(en-us,office.12).gif Value Returns a String that represents the value of a mail merge data field record or a mapped data field. Read-only.