rrPrepend
Inserts a value at the beginning of the specified field.
Syntax
bool rrPrepend (string varSource, string varTarget)
Parameters
Two Smart Parameters:- The source value.
- A reference to the target object.
Either parameter is optional. If a parameter is not specified, it will default to the calling object. If the calling object is a field, it will use the field value.
Returns
False if the calling object and target object are the same, if the action cannot locate the target object's variable, or if the source value argument or object returns an empty string. Otherwise, True.Level
All, target must be a field object.Details
The action retrieves the value of the source object, and pre-appends it to the target field value.- Example
rrPrepend("@D.DocID","@F")This action inserts the current calling object's parent DocID variable value and pre-appends it to the calling field's value.
Note: Target can not be a variable.