GetRowCount

<< Click to Display Table of Contents >>

Navigation:  Quick3270 functions and statements >

GetRowCount

Description

Returns an Integer representing the number of occurrence of a specified character at a given column.

Syntax

GetRowCount(token, column [, firstrow [,lastrow]])

Parameters

Part

Type

Description

token

String

Required; The token to search for. If the string contains more than one character, the function uses the first character.

column

Integer

Required. The column where to search the token.

firstrow

Integer

Optional. The first row where to begin to search. Default is 1.

lastrow

Integer

Optional. The row where to stop the search. Default is the last row of the presentation space.

 

Remarks

The purpose of this function is to quickly count rows that contain data. For example if a transaction displays a result as a list.