ExecEvalOnRecord()

The ExecEvalOnRecord(); rule executes the supplied eval statement on the named record.

Syntax

The ExecEvalOnRecord(); statement uses following syntax.

ExecEvalOnRecord(record, eval clause  );

Arguments

The following table lists the properties of the arguments of this stitcher rule.
Table 1. Arguments of ExecEvalOnRecord()
Argument Description Accepts constants Accepts variables Accepts eval clauses
record Typically retrieved from a database or passed in to the stitcher as an argument. No Yes No
eval clause Defines the type and name of the field to extract. No No Yes

Example

The following example shows how a text variable called name is assigned the evaluation of the EntityName field of the currentRec variable.

text name=ExecEvalOnRecord( currentRec , eval(text, '&EntityName' );