LoopbackCursor (open)
API for object called by Loopback DB provider FIXME: document
Syntax
LOADLIB "wh::dbase/loopback.whlib";
OBJECTTYPE LoopbackCursor
Properties
- PROPERTY currentblock (inherited from TransactionCursorBase)
Publicly accessible version of pvt_currentblock
Functions
- MACRO Close() (inherited from TransactionCursorBase)
Closes the cursor, can be used for cleanup.
- MACRO DeleteRecord(INTEGER row) (inherited from TransactionCursorBase)
Deletes a specific row
- STRING ARRAY FUNCTION GetFase2Data(INTEGER ARRAY rows) (inherited from TransactionCursorBase)
Retrieves the fase2 data for a set of rows
- STRING FUNCTION LockRow(INTEGER row) (inherited from TransactionCursorBase)
Locks a specific row
- MACRO RetrieveNextBlock() (inherited from TransactionCursorBase)
Fetches the next block of rows (fase 1 data only) Must update pvt_currentblock; the number of rows is calculated from the length of pvt_currentblock.
- MACRO UnlockRow(INTEGER row) (inherited from TransactionCursorBase)
Unlocks a previously locked row
- MACRO UpdateRecord(INTEGER row, RECORD newfields) (inherited from TransactionCursorBase)
Updates a specific row