TransactionCursorBase (open)
The TransactionCursorBase objecttype defines an object which can used for cursoring through a query.
Syntax
LOADLIB "wh::dbase/transaction.whlib";
OBJECTTYPE TransactionCursorBase
Properties
- PROPERTY currentblock
Publicly accessible version of pvt_currentblock
Functions
- MACRO Close()
Closes the cursor, can be used for cleanup.
- MACRO DeleteRecord(INTEGER row)
Deletes a specific row
- STRING ARRAY FUNCTION GetFase2Data(INTEGER ARRAY rows)
Retrieves the fase2 data for a set of rows
- STRING FUNCTION LockRow(INTEGER row)
Locks a specific row
- MACRO RetrieveNextBlock()
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)
Unlocks a previously locked row
- MACRO UpdateRecord(INTEGER row, RECORD newfields)
Updates a specific row