OC SET PACK OPTIONS

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

version 6.0.5


OC SET PACK OPTIONS (optionID; optionValue)

ParameterTypeDescription
optionIDIntegerOption number
optionValueStringValue 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:

IDValuesDescription
1MDY, MYD, DMY,Allows you to specify a date format for 4D ODBC, when the server
DYM, YMD, YDMuses 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

OC Get pack options.


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