version 1.5
OD Number in context (context_ID) Longint
| Parameter | Type | Description | |
| context_ID | Longint | Context identifier | |
| Function result | Longint | Number of the current row or | |
| -1 if an error occurs |
Description
The OD Number in context function returns the number of the current row in the context.
context_ID must be a previously created and active context identifier.
After a call to OD Activate context, the current row is not defined and OD Number in context returns 0. After the first OD Next in context, OD Number in context returns 1. OD Number in context returns -1 if an error occurs.
See Also
OD Goto in context, OD Records in context.