getTableSize()

Get the table size.

Syntax

getTableSize(
  tableName  STRING)
  RETURNS INTEGER

Returns the table size.

  1. tableName is the name of the table.

Usage

You can use it to retrieve the size of a table in an application to test this action in a scenario. For example:

FOR i = 1 TO ggc.getTableSize("items")
  CALL ggc.setCellFocus("items", "description", i)
  DISPLAY SFMT("Item %1: %s", i, ggc.getValue())
END FOR