Share via


MappedDataField Object Members

Word Developer Reference

A mapped data field is a field contained within Microsoft Word that represents commonly used name or address information, such as "First Name." If a data source contains a "First Name" field or a variation (such as "First_Name," "FirstName," "First," or "FName"), the field in the data source will automatically map to the corresponding mapped data field in Word. If a document or template is to be merged with more than one data source, mapped data fields make it unnecessary to reenter the fields into the document to agree with the field names in the database.

Properties

  Name Description
Bb257640.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257640.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257640.properties(en-us,office.12).gif DataFieldIndex Returns or sets a Long that represents the corresponding field number in the mail merge data source to which a mapped data field maps. Read/write.
Bb257640.properties(en-us,office.12).gif DataFieldName Sets or returns a String that represents the name of the field in the mail merge data source to which a mapped data field maps. Read/write.
Bb257640.properties(en-us,office.12).gif Index Returns a Long that represents the position of an item in a collection. Read-only.
Bb257640.properties(en-us,office.12).gif Name Returns name of the specified object. Read-only String.
Bb257640.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified MappedDataField object.
Bb257640.properties(en-us,office.12).gif Value Returns the contents of the mail merge data field or mapped data field for the current record. Read-only String.