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

SetResultSet – PB Docs 2019 – PowerBuilder Library

SetResultSet – PB Docs 2019

SetResultSet

PowerScript function

Description

Populates a new ADOResultSet object with data passed in a ResultSet
object.

Applies to

ADOResultSet objects

Syntax

Argument

Description

adoresultset

An ADOResultSet object into which the function places the
passed result set as an ADO Recordset

resultsetobject

A ResultSet object that contains result set data

Return value

Integer.

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

Usage

Use SetResultSet when you want to create an ADOResultSet object and
populate it with data from a ResultSet object. The ResultSet object can be
generated from a DataStore object using the GenerateResultSet
function.

After you create the ADOResultSet object using SetResultSet, you can
use the GetRecordSet function to return the ADO result set in an ADO
Recordset object of type OLEObject that you can use as a native ADO
Recordset object in PowerScript.

Examples

See GetRecordSet.

See also

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

GetRecordSet

SetRecordSet


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