ODBC SET OPTION

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004


ODBC SET OPTION (option; value)

ParameterTypeDescription
optionLongintNumber of option to set
valueLongintNew value of option

Description

The ODBC SET OPTION command is used to modify the value of the option passed in option.

option can have one of the following values, located in the "External Data Source" theme:

ConstantDescription and possible values
OBDC Asynchronous (1)0 = Synchronous connection (default value),
1 (or value other than 0) = Asynchronous connection
ODBC Max Rows (2)Maximum number of rows in resulting group
(used for previews)
ODBC Max Data Length (3)Maximum length of data returned
ODBC Query Time Out (4)Maximum timeout awaiting response when executing
the ODBC EXECUTE command.
Values: time in seconds
By default: no timeout
ODBC Connection Time Out (5)Maximum timeout awaiting response when executing
the ODBC LOGIN command.
This value must be set before opening the connection
in order to be taken into account
Possible values: time in seconds
By default: no timeout

See Also

ODBC GET OPTION.

System Variables or Sets

If the command was properly executed, the system variable OK returns 1. Otherwise, it returns 0.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next