version 1.5
OD Get options (object_ID) Longint
| Parameter | Type | Description | |
| object_ID | Longint | Object identifier | |
| Function result | Longint | Option settings for the object or | |
| -1 if an error occurs |
Description
The OD Get options function returns the option settings for the object with the object_ID identifier. object_ID may be either a context identifier, cursor identifier, connection identifier, or 0 to retrieve the default options and the global options.
OD Get options returns -1 if there is an error.
Example
The following method determines whether the kWithLock option is set.
Options:=OD Get options (Context_ID) If ((Options\kWithLock)%2=1) `kWithLock option is selected Else `kWithLock option is not selected End if
See Also