BBjStoredProcedureData::setRecordSet
Description
In BBj 7.00 and higher, this method sets the BBjRecordSet to be used as the stored procedure's result set.
Only SQL and in-memory record sets are supported, which means that file record sets cannot be passed into the setRecordSet() call. See BBjAPI::createMemoryRecordSet for additional information about in-memory record sets.
Syntax
Return Value | Method |
---|---|
void | setRecordSet(BBjRecordSetrecordSet) |
Parameters
Parameter | Description |
---|---|
recordSet | Instance of an SQL or in-memory BBjRecordSet object. |
Return Value
None.
Remarks
Either this method, setResultSet, or setUpdateCount can be called once. Subsequent invocations result in an !ERROR=207 (BBJ_STATE).
Example
The following example only works as the source code for a stored procedure. Do not attempt to run it as a normal BBj program.
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.