OD Cursor state

4D - Documentation   Français   English   German   English   4D for Oracle, Command Theme List   4D for Oracle, Command Alphabetical List   Back   Previous   Next

version 1.5


OD Cursor state (cursor_ID) Integer

ParameterTypeDescription
cursor_IDLongintCursor identifier
Function resultIntegerState 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 CodeDescription
0Cursor is not valid (does not correspond to any created cursor)
1Cursor is valid, but inactive
2Cursor 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.


4D - Documentation   Français   English   German   English   4D for Oracle, Command Theme List   4D for Oracle, Command Alphabetical List   Back   Previous   Next