PgDAC

TCustomPgDataSet.OpenNext Method

Opens the next REFCURSOR for stored procedure that returns more than one cursor.

Class

TCustomPgDataSet

Syntax

function OpenNext: boolean;

Return Value
True, if the next cursor is opened. False, if there are no more cursors.

Remarks

Call the OpenNext method to open next REFCURSOR for stored procedure that returns more than one cursor. When you execute a stored procedure that has REFCURSOR parameters, PgDAC opens a cursor from the first parameter automatically. The OpenNext function closes current cursor and opens a cursor from the next REFCURSOR parameter.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback