DataMergeFields

A collection of data merge fields.

Methods:

anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

DataMergeField anyItem ()

Returns any DataMergeField in the collection.

Number count ()

Displays the number of elements in the DataMergeField.

DataMergeField everyItem ()

Returns every DataMergeField in the collection.

DataMergeField firstItem ()

Returns the first DataMergeField in the collection.

DataMergeField item (index:Varies Long String)

Returns the DataMergeField with the specified index or name.

Parameter

Type

Description

index

Long

String

The index or name. Can accept: Long or String.

DataMergeField itemByName (name:String)

Returns the DataMergeField with the specified name.

Parameter

Type

Description

name

String

The name.

DataMergeField itemByRange (from:Varies DataMergeField Long String, to:Varies DataMergeField Long String)

Returns the DataMergeFields within the specified range.

Parameter

Type

Description

from

DataMergeField

Long

String

The DataMergeField, index, or name at the beginning of the range. Can accept: DataMergeField, Long or String.

to

DataMergeField

Long

String

The DataMergeField, index, or name at the end of the range. Can accept: DataMergeField, Long or String.

DataMergeField lastItem ()

Returns the last DataMergeField in the collection.

DataMergeField middleItem ()

Returns the middle DataMergeField in the collection.

DataMergeField nextItem (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.

DataMergeField previousItem (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.

Object of

DataMerge.dataMergeFields