GetRowCount Method (DATATABLE)


10.5, PLBCMP GUI Only

 

The GetRowCount method returns the number of rows in a DATATABLE that are active and accessible. This count does not include any rows that have been deleted. The method uses the following format:

 

[label]

{object}.GetRowCount

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A DATATABLE object.

return

Optional. A Numeric Variable that returns the row count.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The EOS flag is always cleared.

  2. The ZERO flag is set if the {return} value is zero.

  3. The OVER flag is set if the {return} variable is too small to receive the return value.

 

 

See Also: Method Syntax, DATATABLE Methods

 



PL/B Language Reference GetOrderArray Method (DATATABLE) GetRowNum Method (DATATABLE