version 6.0.5
OC SET PACK OPTIONS (optionID; optionValue)
| Parameter | Type | Description | |
| optionID | Integer | Option number | |
| optionValue | String | Value of the option |
Description
The OC SET PACK OPTIONS command allows you to set global option(s) at the 4D ODBC package level.
optionID is the number of the option you want to modify. You pass the value for the option in the optionValue parameter.
Only one option is available for the moment:
| ID | Values | Description |
| 1 | MDY, MYD, DMY, | Allows you to specify a date format for 4D ODBC, when the server |
| DYM, YMD, YDM | uses a date format different from the one 4D uses |
Note: This command will manage new options in future versions of 4D ODBC as and when required.
Example
You want to set the date format to D(Day), M(Month), Y(Year):
OC SET PACK OPTIONS(1;"DMY")
See Also