rrCopy

Copies the value, confidence levels, and positions from one field to another.

Syntax

bool rrCopy (string varSource, string varTarget)

Parameters

Two Smart Parameters
  1. A reference to the source field
  2. A reference to the target field

Either parameter is optional. If a parameter is not specified, the calling object must be a field.

Returns

False, if the action cannot retrieve the target or source object. Otherwise, True.

Level

Field level.

Details

The action retrieves the value, confidence, and image references (field positions) of the source field object, and copies them to the target field object. It uses the Smart Parameters that you enter as a parameter to copy the value of a source field object to a target field object. This action is unusual in that it is intended to work only on field objects.
Note: rrCopy copies more than just the value of the field. Use rrSet if only the field value is to be copied. This action is unusual because it is intended to work only on field objects.
Example
rrCopy("@B\OPERATOR","@P\OPERATOR")
This example copies the Operator value of the Batch field to the Operator field of the bound object of the Document Hierarchy.