A collection of data merge fields.
Methods
DataMergeFieldanyItem ()
Returns any DataMergeField in the collection.
number count ()
Displays the number of elements in the DataMergeField.
Array of DataMergeFieldeveryItem ()
Returns every DataMergeField in the collection.
DataMergeFieldfirstItem ()
Returns the first DataMergeField in the collection.
DataMergeFielditem (index:
any)
Returns the DataMergeField with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
DataMergeFielditemByName (name:
string)
Returns the DataMergeField with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of DataMergeFielditemByRange (from:
any, to:
any)
Returns the DataMergeFields within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | DataMergeField Long Integer String |
The DataMergeField, index, or name at the beginning of the range. Can accept: DataMergeField, Long Integer or String. |
| to | DataMergeField Long Integer String |
The DataMergeField, index, or name at the end of the range. Can accept: DataMergeField, Long Integer or String. |
DataMergeFieldlastItem ()
Returns the last DataMergeField in the collection.
DataMergeFieldmiddleItem ()
Returns the middle DataMergeField in the collection.
DataMergeFieldnextItem (obj:
DataMergeField)
Returns the DataMergeField whose index follows the specified DataMergeField in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | DataMergeField | The DataMergeField whose index comes before the desired DataMergeField. |
DataMergeFieldpreviousItem (obj:
DataMergeField)
Returns the DataMergeField with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | DataMergeField | The index of the DataMergeField that follows the desired DataMergeField. |
string toSource ()
Generates a string which, if executed, will return the DataMergeField.
Element of:
DataMerge.dataMergeFields