Skip to main content
Version: 11.2

Rowset.searchCols()

note

This article is about the searchCols() function of the Rowset object.

Rowset.searchCols()

Gets a collection of search conditions (in the form of column values) that is current for this row set. There is at most 1 current search condition value for each column at any one time.

Returns a UdbCols object.

Syntax

$.udb( *ds* ).rowSet( *rowSet* ).searchCols( *columns* )

The required ds parameter is a data source selector.

The required rowSet parameter is a rowset identifier.

The optional columns is a string value or an array of string values in which each value is a column name. If columns is omitted, all the columns in scope are returned.

Examples

$.udb('EMP').rowSet('current').searchCols().clear();
$.udb('EMP').rowSet('current').searchCols('EMPNO').val('10');