A ResultSet or ResultSets datatype can be specified only as a return type or a parameter type with an out argument mode. You cannot define a method as having both a ResultSet or ResultSets return type and a ResultSet or ResultSets parameter type.
A result set is returned as a RecordSet object. After retrieving the result set, you can process it using the methods in the interfaces below. These interfaces are documented in Chapter 4, “ActiveX Client Interfaces,” in the EAServer API Reference:
RecordSet Interface – provides methods to iterate through the rows in each result set.
Fields Collection – contains the Field objects that represent the columns in a row.
Field Interface – represents one column in a row.
For compatibility with previous releases, you can still
use GetRecordSet method to retrieve an ActiveX RecordSet interface
pointer that can be used to retrieve the row results.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |