Declaration

function CursorOpen(out aCursor: TnxAbstractCursor; const aTableName: string; aOpenMode: TnxOpenMode; aShareMode: TnxShareMode; aTimeout: TnxWord32; aDictionary: TnxDataDictionary): TnxResult; virtual; abstract;

 
Description

This function opens a new cursor for a table and returns an instance of a descendent of TnxAbstractCursor. Each table can have as many Cursors as wanted active at the same time

 
Parameters

out aCursor: TnxAbstractCursor

the returned instance

const aTableName: string

the name of the table the cursor should be created for

aOpenMode: TnxOpenMode

the mode you want to open the cursor for

aShareMode: TnxShareMode

defines how the Cursor should handle sharing

aTimeout: TnxWord32

the timeout for the cursor in msec

aDictionary: TnxDataDictionary

the dictionary of the table the cursor is created for

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxAbstractDatabase