1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
|
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01099676"><META NAME="lcid" CONTENT="1033"><title>mailMergeElt complexType</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><h1>mailMergeElt complexType</h1><p>Defines the collection of settings for a mail-merge operation.</p><h2>Type Information</h2><table>
<tr>
<td>
<b class="bterm">Namespace</b>
</td>
<td>http://schemas.microsoft.com/office/word/2003/wordml</td>
</tr>
<tr>
<td>
<b class="bterm">Schema name</b>
</td>
<td>XML Document 2003</td>
</tr>
</table><h2>Elements and Attributes</h2><h3>Child Elements</h3><table>
<tr>
<th>Element</th>
<th>Description</th>
</tr>
<tr>
<td><a href="welemainDocumentType_HV01099316.htm" id="HV01099316" lcid="">mainDocumentType</a></td>
<td>Specifies a mail-merge main document type. The main document is the document that contains information that is the same for each version of the merged document -- for example, the return address in a form letter.</td>
</tr>
<tr>
<td><a href="welelinkToQuery_HV01099294.htm" id="HV01099294" lcid="">linkToQuery</a></td>
<td>Specifies whether a mail-merge main document contains a query to its data source. If specified, the mail-merge document does not link to the data source by means of Microsoft Query.</td>
</tr>
<tr>
<td><a href="weledataType_HV01099138.htm" id="HV01099138" lcid="">dataType</a></td>
<td>Specifies the type of mail-merge data source (such as an Excel spreadsheet or Access database) and the method of data access (for example, by means of ODBC or DDE).</td>
</tr>
<tr>
<td><a href="weledefaultSQL_HV01099140.htm" id="HV01099140" lcid="">defaultSQL</a></td>
<td>Specifies whether the mail merge will use the default SQL query string.</td>
</tr>
<tr>
<td><a href="weleconnectString_HV01099130.htm" id="HV01099130" lcid="">connectString</a></td>
<td>Represents the connection string used to open an external data source.</td>
</tr>
<tr>
<td><a href="welequery_HV01099395.htm" id="HV01099395" lcid="">query</a></td>
<td>Contains the query that is run against the data source.</td>
</tr>
<tr>
<td><a href="weledataSource_HV01099137.htm" id="HV01099137" lcid="">dataSource</a></td>
<td>Specifies the path to the mail-merge data source.</td>
</tr>
<tr>
<td><a href="weleheaderSource_HV01099235.htm" id="HV01099235" lcid="">headerSource</a></td>
<td>Specifies the path to the mail-merge header source.</td>
</tr>
<tr>
<td><a href="weledoNotSuppressBlankLines_HV01099172.htm" id="HV01099172" lcid="">doNotSuppressBlankLines</a></td>
<td>Causes Word not to print blank lines when a data field is empty.</td>
</tr>
<tr>
<td><a href="weledestination_HV01099145.htm" id="HV01099145" lcid="">destination</a></td>
<td>Specifies the output of a mail merge.</td>
</tr>
<tr>
<td><a href="weleaddressFieldName_HV01099056.htm" id="HV01099056" lcid="">addressFieldName</a></td>
<td>Contains the name of the data field with the destination e-mail or fax address.</td>
</tr>
<tr>
<td><a href="welemailSubject_HV01099315.htm" id="HV01099315" lcid="">mailSubject</a></td>
<td>Contains the text that appears in the subject line of the mail-merge destination e-mail or fax.</td>
</tr>
<tr>
<td><a href="welemailAsAttachment_HV01099313.htm" id="HV01099313" lcid="">mailAsAttachment</a></td>
<td>Sends the merged document to e-mail recipients as an attachment.</td>
</tr>
<tr>
<td><a href="weleviewMergedData_HV01099581.htm" id="HV01099581" lcid="">viewMergedData</a></td>
<td>Specifies that merge data is displayed.</td>
</tr>
<tr>
<td><a href="weleactiveRecord_HV01099054.htm" id="HV01099054" lcid="">activeRecord</a></td>
<td>Specifies the active record that a main mail-merge document displays.</td>
</tr>
<tr>
<td><a href="welecheckErrors_HV01099117.htm" id="HV01099117" lcid="">checkErrors</a></td>
<td>Specifies which mail-merge error checking and reporting option runs. 1) Simulate the merge and report errors in a new document. 2) (default) Complete the merge, pausing to report each error as it occurs. 3) Complete the merge without pausing; report errors in a new document.</td>
</tr>
<tr>
<td><a href="weleodso_HV01099352.htm" id="HV01099352" lcid="">odso</a></td>
<td>Contains settings related to the Office Data Source Object.</td>
</tr>
</table><h3>Attributes</h3><p>None.</p><h2>Definition</h2><pre>
<code>
<xsd:complexType name="mailMergeElt" >
<xsd:sequence>
<xsd:element name="mainDocumentType" type="mailMergeDocTypeProperty" minOccurs="1">
</xsd:element>
<xsd:element name="linkToQuery" type="onOffProperty" minOccurs="0">
</xsd:element>
<xsd:element name="dataType" type="mailMergeDataTypeProperty" minOccurs="1">
</xsd:element>
<xsd:element name="defaultSQL" type="onOffProperty" minOccurs="0">
</xsd:element>
<xsd:element name="connectString" type="stringProperty" minOccurs="0">
</xsd:element>
<xsd:element name="query" type="stringProperty" minOccurs="0">
</xsd:element>
<xsd:element name="dataSource" type="stringProperty" minOccurs="0">
</xsd:element>
<xsd:element name="headerSource" type="stringProperty" minOccurs="0">
</xsd:element>
<xsd:element name="doNotSuppressBlankLines" type="onOffProperty" minOccurs="0">
</xsd:element>
<xsd:element name="destination" type="mailMergeDestProperty" minOccurs="0">
</xsd:element>
<xsd:element name="addressFieldName" type="stringProperty" minOccurs="0">
</xsd:element>
<xsd:element name="mailSubject" type="stringProperty" minOccurs="0">
</xsd:element>
<xsd:element name="mailAsAttachment" type="onOffProperty" minOccurs="0">
</xsd:element>
<xsd:element name="viewMergedData" type="onOffProperty" minOccurs="0">
</xsd:element>
<xsd:element name="activeRecord" type="decimalNumberProperty" minOccurs="0">
</xsd:element>
<xsd:element name="checkErrors" type="decimalNumberProperty" minOccurs="0">
</xsd:element>
<xsd:element name="odso" type="odsoElt" minOccurs="0">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</code>
</pre><center><a href="XMLSchemaCopyright_HV01147162.htm">©2003-2004 Microsoft Corporation. All rights reserved.</a>
Permission to copy, display and distribute this document is available at: <a
href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&CTT=11&Origin=HV011232471033"
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>
|