DataMergeFields

A collection of data merge fields.

Methods:

[], anyItem, count, everyItem, firstItem, item, 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 [] (index:Number)

Returns the DataMergeField with the specified index.

Parameter

Type

Description

index

Number

The index.

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 LongInteger String)

Returns the DataMergeField with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

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

Returns the DataMergeFields within the specified range.

Parameter

Type

Description

from

DataMergeField

LongInteger

String

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

to

DataMergeField

LongInteger

String

The DataMergeField, index, or name at the end of the range. Can accept: DataMergeField, Long Integer 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