SetRetainCursor

Sets the internal RetainCursor value. D7+ Only.
procedure SetRetainCursor(Connection: 
        TSQLConnection; Value: Boolean);
      

Parameters:

Connection
The TSQLConnection component that is connected to the server.
Value
The value to set the internal RetainCursor flag to.

Exceptions:

EDatabaseError is raised in case of an error.

Quick Info:

Supported Compilers:D7+
Category:Database Information
Unit: PGEDriverUtils.pas

Example 4.6. 

SetRetainCursor(SQLConnection1, True);