GetResultSetAccessor

PowerBuilder Native Interface

IPB_Session interface:

GetResultSetAccessor method

Description

Obtains an interface through which you can read data from a result set.

Syntax

GetResultSetAccessor (pbobject rs)

Argument

Description

rs

A pbobject holding a result set obtained using CreateResultSet

Return Values

IPB_ResultSetAccessor

Examples

This example gets a result set, rs, from the return value of a PowerScript function and uses it to create an IPB_ResultSetAccessor object, rsa:

pbobject rs = ci.returnValue->GetObject();
IPB_ResultSetAccessor* rsa =
   session->GetResultSetAccessor(rs);

See Also