TABLE-INQUIRE-ROW Action

This document covers the following topics:


Description

enables you to inquire the value in each cell of a single row. The values will update the input parameters you specify. Later at runtime, you can retrieve the updated parameter values. Specifying the value "0" in the Row Index parameter is useful in combination with the Insert-Row Event because the ROW attribute then contains the index of the row in which the end user has caused the most recent event.

Parameters

Name/Data Type Explanation
HANDLE OF TABLE Input

Specifies a Table Control.

Row Index (I4) Input

Specifies the number of the row to be inquired.

If you specify "0", the value of the table's ROW attribute is taken as the number of the row to be inquired.

If you specify "-1", the last row in the table will be inquired.

If you specify "1", the first row in the table will be inquired.

List of parameters Input

You can either specify one parameter for each column of the row, or you can specify less parameters than there are columns. If you specify more parameters than there are columns, an error message is returned.

Response (I4) Output

Natural error (if applicable).

Example:

 
PROCESS GUI ACTION TABLE-INQUIRE-ROW WITH #TBL-1 3 #P1 #P2 #P3 #P4 
GIVING #RESPONSE