getValue method for NEWROW and OLDROW
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The getValue method of the NEWROW and OLDROW classes assigns a single value from a SQL statement object (from the SQL statement that made the trigger fire) to a procedure variable or a new SQL statement parameter using the following syntax:
|
- col_num
- Specifies the desired column of the result set as integer.
getValueretrieves the value in the currently fetched record of the column denoted by col_num.1denotes the first column of the result set,2denotes the second, n denotes the nth.
The following example shows a procedure using the is.NULL method. The is.NULL method is used to
check for a null value.
|
The following example shows an excerpt from a trigger that uses getValue to
assign values from both OLDROW and NEWROW objects.
|