guides:programming:programmers_reference_manual:cursors_and_select_lists

Cursors and Select Lists

The following variables are used for maintaining and querying the status of key lists.

VariableDescription
@CURSORSA list of active cursors.
@LIST_ACTIVEThe flag that indicates whether there is an active select list in cursor 0, and what type of list it is.

Flag - Value
0 - No select list active.
1 - Latent table-based list active.
2 - active.
3 - active.
@PRI_FILEThe file handle for the table represented in cursor zero.
@QUERY_DICTThe file handle for the dictionary represented in cursor zero.
@RECCOUNTIf there is an active, resolved select list, this variable contains the number of keys in the list.
@REDUCTION_DONEContains 1 if the key list in cursor 0 is completely resolved, otherwise it is null.
@RN_COUNTERThe ReadNext counter. Incremented for each row examined by the ReadNext statement. It must be initialized by the procedure to a starting value (usually zero).
  • guides/programming/programmers_reference_manual/cursors_and_select_lists.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1