GML::INSERT_ROW - Insert Row
Syntax
CALL "GML::INSERT_ROW"
Description
This procedure inserts an empty a row of data in the main grid of the selected grid set. The GML_TPL$ template variable GML_TPL.ROW_N% is used to designate where to insert the empty row. Data in all cells is moved down 1 row; if data exists in the last row it will be discarded. This procedure is valid only when applied to the main grid (GML_TPL.MEMBER%=1).
Options
The INSERT_ROW procedure normally redraws the grid. Setting GML_TPL.DEF_FLAG% to a value of 1 will prevent the procedure from performing the redraw operation.
Example
Insert an empty row at row 1 of the main grid in grid set 1.
2400 GML.SET%=1
2410 CALL "GML::TPL_PREP"
2420 GML_TPL.ROW_N%=1
2430 CALL "GML::INSERT_ROW"