Skip to main content
Version: 11.2

Cols.maxValue()

note

This article is about the maxValue() function of the Cols object.

Cols.maxValue()

Gets the maximum allowed value of the first column in scope.

Returns a string.

Syntax

$.udb( *ds* ).cols( [columns] ).maxValue()

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 max = $.udb('EMP').cols('SALARY').maxValue();