<linkToQuery>
(Query Contains Link to External Query File)
This element specifies that the current WordprocessingML document's query string, stored in the <query>
element (§2.14.26) and used to specify the data to be imported from the external data source, actually contains a reference to an external query file which contains the actual query data to be used against the specified external data source for the mail merge. This query shall mimic a SQL query and be of the following form: SELECT * FROM <query file path>
.
If this element is omitted, then the query specified for the data source attached to the current document shall be assumed to not be a query containing a link to an external file.
<w:mailMerge> … <w:linkToQuery /> <w:query w:val="SELECT * FROM C:\queryExample.txt" /> … </w:mailMerge>
The <linkToQuery>
element specifies that the query string stored in the <query>
element (§2.14.26) is actually just a reference to an externally stored query file, in this case, an external query file stored at c:\queryExample.txt
. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of <w:… w:val="off"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>