version 1.5
OD Context state (context_ID) Integer
| Parameter | Type | Description | |
| context_ID | Longint | Context identifier | |
| Function result | Integer | State of the context |
Description
The OD Context state function returns a code that provides the state of the context whose identifier is specified.
The following table explains the meanings of the return codes:
| Return Code | Description |
| 0 | Invalid context (does not correspond to any created context) |
| 1 | Inactive context |
| 2 | Active context that contains unread rows |
| 3 | Active context for which all rows have been read |
See Also
OD Activate context, OD Create context, OD DROP CONTEXT.