GML::FETCH - Retrieve Grid Cell Data

Syntax

CALL "GML::FETCH"

Description

This procedure retrieves a row of grid cell data with attributes. The retrieved variables are placed into the GML_TPL$ template. The GML_TPL$ template variable GML_TPL.ROW_N% is used to designate which row of data to retrieve. If all GML_TPL.COL$[c] column variables contain no data (are empty) then subsequent to execution of the FETCH procedure the GML_TPL.ROW_STAT% variable will contain the value of 1, indicating the row is empty.

This procedure is identical to Retrieve Row Data.

Options

If variable GML_TPL.ROW_N% is set to –1 prior to execution of the procedure, then the current selected row data will be returned.

If variable GML_TPL.DEF_FLAG% is set to 1 prior to executing the procedure, only row data will be returned in the GML_TPL$ template (cell attribute data will not be placed in the template).

Example

2400 GML.SET%=1
2410 CALL "GML::TPL_PREP"
2420 GML_TPL.ROW_N%=2
2430 CALL "GML::FETCH"

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures