Skip to content

First_Selected_Item - dbList_

Returns the first selected item

Type: Function
Return Data Type: Integer

Syntax

Function First_Selected_Item Returns Integer

Call Example

Get First_Selected_Item to IntegerVariable

Description

Col 1 Col 2
Note: Use First_Selected_Item and Next_Selected_Item only for batch tables and use FirstSelectedRowId and NextSelectedRowId for non-batch tables.

First_Selected_Item returns either the item number of the first selected item (if Batch_State is True), or the record number of the first selected item (if Batch_State is False). If there are no selected items, returns -1.

Return Value

Col 1 Col 2
If batch_state is true Returns the item number of the first selection item
If batch_state is false Returns the record number of the first selection item
If there are no selected items Returns -1

Syntax

Function First_Selected_Item Returns Integer
Col 1 Col 2
Call: Get First_Selected_Item to IntegerVariable

Description

Col 1 Col 2
Note: Use First_Selected_Item and Next_Selected_Item only for batch tables and use FirstSelectedRowId and NextSelectedRowId for non-batch tables.

First_Selected_Item returns either the item number of the first selected item (if Batch_State is True), or the record number of the first selected item (if Batch_State is False). If there are no selected items, returns -1.