version 1.5
OD Cursor state (cursor_ID) Integer
| Parameter | Type | Description | |
| cursor_ID | Longint | Cursor identifier | |
| Function result | Integer | State of the cursor |
Description
The OD Cursor state function informs the user of the state of the cursor whose identifier is cursor_ID.
The following table lists the return codes and their meanings:
| Return Code | Description |
| 0 | Cursor is not valid (does not correspond to any created cursor) |
| 1 | Cursor is valid, but inactive |
| 2 | Cursor is valid and active (occurs after OD EXECUTE CURSOR as long as |
| there are rows to load) |
See Also
OD Create cursor, OD DROP CURSOR, OD EXECUTE CURSOR.