ObjPropertySet
You can use this function for Optiva Workflow, Copy Methods, and Equations.
Purpose
Sets the value of a field in the database. The syntax is similar to
ObjProperty.
ObjPropertySet
includes an argument for the new value
and a save mode.
Syntax
Dim variable As Long = ObjPropertySet(Value,SaveMode,PropertyName,Symbol,
Object[,RowKey,ColumnKey])
Arguments
Part | Description |
---|---|
Value
|
New value for the field. |
SaveMode
|
Specify
0 as a placeholder.
SaveMode is reserved for future use and not
currently supported. Changes are saved to the database at the end of the
script.
|
PropertyName
|
See ObjProperty. |
Symbol
|
Type of object. Use empty quotation marks to indicate the symbol of the current object for the workflow, or the new object for the copy method. |
Object
|
Object for which to obtain a property. Use empty quotation marks to indicate the current object for the workflow, or the new object for the copy method. For formulas and specifications, you must include a backslash (\) followed by a version number if you include the object code. |
RowKey
|
VALIDATION_SUBCODE . Key for the row where the
value exists.
Include only if
|
ColumnKey
|
Value must be inside quotation marks
(""). In some sections of rows, the
In that row, take the |
Description
Use the
ObjPropertySet
function to set values of fields in the
database. The arguments of this function are the same as for the
ObjProperty
function. The
SaveMode
argument is reserved for future use.
When you include Auto Code
segments
that prompt users to specify a value for the Copy Method, use GetSegData(n)
. The
n
represents the Auto Code
segment number to
use.