set_count()
Defines the number of rows containing explicit data in a static array used by the next dialog.
Syntax
set_count(
count INTEGER )
- count defines the number of explicit rows in the static array.
Usage
When using a static array in an INPUT
ARRAY (with WITHOUT DEFAULTS clause) or a
DISPLAY ARRAY
statement, you must specify the number of rows in the array which contain explicit
data. In typical applications, these array elements contain the values fetched
from a SELECT statement.
set_count() must be called before a DISPLAY ARRAY
or INPUT ARRAY statement.
The number of rows can also specified with the COUNT attribute
of INPUT ARRAY and DISPLAY ARRAY statements.
When using a dynamic array, the number of rows is implicitly defined by the array.