Record Fields Collection

The Fields collection contains all record fields for the current receiver.

Syntax

Item = Record.Fields(key|index)

Parameters
key
The identifier for the item to return.
index
An index offset indicating which item in the list to return. The index starts at 0
Remarks

See the Collection Object for standard collection properties and methods.

Examples

The following example will list all the fields in a record

For Each item In Record.Fields
    sFieldName = item.Name
    sFieldValue = item.Value
Next

The following example gets a  specific field value

sFieldValue = Record.Fields("ZipCode")

Applies To

Record Object

See Also

DataSource Object