Cols.defValue()
note
This article is about the defValue() function of the Cols object.
Cols.defValue()
Gets the default value of the first column in scope.
Returns a string.
Syntax
$.udb( *ds* ).cols( [columns] ).defValue()
The required ds parameter is a data source selector.
The optional columns is a column selector. If omitted, all columns in scope are selected.
Example
let defaultVal = $.udb('EMP').cols('EMPNO').defValue();