... including URL and other Internet Web site references, is subject to change. without notice. ... does not give you any license to these patents, tr
Document source : download.microsoft.com
Microsoft Word Suite
The following example displays the field names in the data source associated with the active
repeat with aField in (get data merge field names of data source of ¬
data merge of active document)
display dialog name of aField as string
The following example opens the data source associated with Form letter.doc and determines
whether the FirstName field includes the name "Kate."
set dmDoc to data merge of document "Form letter.doc"
edit data source dmDoc
if (find record data source of dmDoc find text "Kate" field name "FirstName") ¬
display dialog "Data was found"
Returns or sets the active data merge data record. Read/write.
Can be either a valid data record number in the query result or one of the following:
no active record
Note The active data record number is the position of the record in the query result produced
by the current query options; as such, this number isn't necessarily the position of the record in
the data source.
Returns the connection string for the specified data merge data source. Read-only.
Returns or sets the number of the first data record to be merged in a data merge operation.
header source name
Returns the path and file name of the header source attached to the specified data merge main
Can be either a valid data record number in the query result or one of the following: · first record · last record · next record · no active record · previous record Note The active data record number is the position of the record in the query result produced by the current query options;