1.7

Table Of Contents
CSV or database: createRegion(columnName)
Creates a region from the data in a CSVfile, using the specified columnName parameter.
columnName
String containing the name of the column where the region is to be created.
Example
This script checks the first value in a certain column. If it is not the same value as in the
previous record(s), a document boundary is set.
if(!(boundaries.Eof || boundaries.Bof)){
var recordValue = boundaries.get(region.createRegion('ID'))[0];
if(!(recordValue==boundaries.getVariable('lastValue'))){
boundaries.setVariable('lastValue',recordValue);
boundaries.set(0);
}
}
sourceRecord
Returns a sourceRecord object containing properties specific to the current source record
being processed.
Properties
sourceRecord.properties.property;
Property Return Type
properties Returns an array of properties defined in the Preprocessor step with
the Record Scope (i.e. dynamically reset with each new record).
Example
The property, used by the object Source Record, must first be declared in a Preprocessor
step:
Page 262