2022.1

Table Of Contents
Tip
The Dynamic Attachment script uses this function to add an attachment to an Email
section; see "Email attachments" on page183.
record
The record object gives access to the record that is currently being merged with the template.
Properties
Field Type Description
<fieldName>
Object Shortcut to access a field in the fields array. For
example, you can use record.FirstName to
access record.fields.FirstName.
Note
If a record has a field and a table of the
same name, record.<fieldName> will
return the table.
fields
Array The field values that belong to this record.
id
Number The id of this record.
index
Number The one-based index of this record, or zero if no
data is available.
<tableName>
Array of
records
Shortcut to access a table in the tables array. For
example, you can use record.Products to access
record.tables.Products.
tables
Array The detail tables that belong to this record.
Page 834