Cell (Constant Table, by Row/Column Number) 

Purpose

Function for getting or setting individual cell values by row and column numbers from constant table parameter objects.

Syntax

const CRfcData& Cell(int nRow, int nCol) const;

Parameters

Return Value

Reference to a CRfcData object containing the data value and type information.

Exceptions

Throws const char* if no field information can be found for the specified column.

Throws const char* if no such row can be found.

Description

Similar to the other Cell(int,int) function, but this one allows getting values from constant CRfcTableParam objects.

Assuming ATableParam is a table parameter with column number 0 of type RFC_INT:

int anInt = ATableParam.Cell(0,0); // Retrieves table cell at row 0,

// column 0 and assigns it to anInt.

 

Related Information

Field (Constant Table, by Index/Column Name

Field (Constant Table, by Index/Column Number)

Field (by Row/Column/Field Name)

Field (by Row/Column Number)

 

Cell (by Row/Column Name)

Cell (by Row/Column Number)

Cell (Constant Table, by Row/Column Name)