Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetRecordSet – PB Docs 2019 – PowerBuilder Library

GetRecordSet – PB Docs 2019

GetRecordSet

PowerScript function

Description

Returns the current ADO Recordset object.

Applies to

ADOResultSet objects

Syntax

Argument

Description

adoresultset

An ADOResultSet object that contains an ADO
Recordset.

adorecordsetobject

An OLEObject object into which the function places the
current ADO Recordset. This argument is passed by
reference.

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs.

Usage

Use the GetRecordSet function to return an ADO Recordset as an
OLEObject object that can be used in PowerBuilder as a native ADO
Recordset. The ADOResultSet object that contains the ADO Recordset must
first have been populated using the SetRecordSet or SetResultSet
function.

Examples

This example generates a result set in a ResultSet object from an
existing DataStore object. The ResultSet object is used to populate a new
ADOResultSet object. The GetRecordSet function on the ADOResultSet object
is used to return an ADO Recordset as an OLEObject that can be used with
ADO Recordset methods.

See also

GenerateResultSet method for DataWindows in the section called “GenerateResultSet” in DataWindow Reference.

SetRecordSet

SetResultSet


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x