Cell (Constant Table, by Row/Column Name) 

Purpose

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

Syntax

const CRfcData& Cell(int nRow, CSTR strFieldName) 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 field name.

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

Description

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

Assuming ATableParam is a table parameter with column named NUMBER of type RFC_INT:

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

// 0, column NUMBER, 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 Number)