PgDAC

TCustomPgDataSet.Cursor Property

Used to fetch data from the REFCURSOR parameter or REFCURSOR field.

Class

TCustomPgDataSet

Syntax

property Cursor: TPgRefCursor;

Remarks

Use the Cursor property to fetch data from the REFCURSOR parameter or REFCURSOR field. You can assign the value of TPgParam.AsCursor or TPgCursorField.AsCursor to the Cursor property. After assigning you can open the dataset once.

Example

PgQuery1.Cursor := PgSQL1.ParamByName('Cur').AsCursor;
PgQuery1.Open; 

See Also

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