This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
Database Parameters
|
Constant | Type | Value | Comment |
_o_4D Local mode scheduler | Longint | 10 | **** This selector is deprecated and should no longer be used **** |
_o_4D Remote mode scheduler | Longint | 12 | **** This selector is deprecated and should no longer be used **** |
_o_4D Server scheduler | Longint | 11 | **** This selector is deprecated and should no longer be used **** |
_o_Client IP address to listen | Longint | 23 | **** Selector disabled, use WEB SET OPTION and WEB GET OPTION commands **** |
_o_Client Max Web requests size | Longint | 21 | **** Selector disabled, use WEB SET OPTION and WEB GET OPTION commands **** |
_o_Client maximum Web process | Longint | 20 | **** Selector disabled, use WEB SET OPTION and WEB GET OPTION commands **** |
_o_Client minimum Web process | Longint | 19 | **** Selector disabled, use WEB SET OPTION and WEB GET OPTION commands **** |
_o_Database cache size | Longint | 9 | Scope: 4D application Kept between two sessions: - Description: |
_o_Invert objects | Longint | 37 | **** Selector disabled **** |
_o_IP Address to listen | Longint | 16 | **** Selector disabled, use WEB SET OPTION and WEB GET OPTION commands **** |
_o_Maximum temporary memory size | Longint | 61 | Compatibility Note: This selector is now deprecated because it has become essentially useless with 64-bit versions of 4D. Scope: 4D application Kept between two sessions: No Possible values: Positive longint. Description: Maximum size of temporary memory that 4D can allocate to each process, expressed in MB. By default, the value is 0 (no maximum size). 4D uses a special temporary memory dedicated to indexing and sorting operations. This memory is intended to preserve the "standard" cache memory during massive operations. It is activated only when needed. By default, the size of the temporary memory is limited only by the resources available (according to the system memory configuration). This mechanism is suitable for most applications. However, in certain specific contexts, more particularly when a client-server application simultaneously carries out a large number of sequential sorts, the size of the temporary memory can increase critically, to the point where it can render the system unstable. In this context, setting a maximum size for the temporary memory allows you to preserve proper functioning of the application. In return, the running speed might be affected: when the maximum size is reached for a process, 4D uses disk files which may slow down processing. For specific needs such as those described above, a maximum size of around 50 MB is generally a good compromise. However, the ideal value will need to be determined according to the specificities of the application and will generally be the result of real-time volumetric testing. |
_o_Maximum Web process | Longint | 7 | **** Selector disabled, use WEB SET OPTION and WEB GET OPTION commands **** |
_o_Minimum Web process | Longint | 6 | **** Selector disabled, use WEB SET OPTION and WEB GET OPTION commands **** |
_o_QuickTime support | Longint | 82 | **** Selector disabled **** |
_o_Real display precision | Longint | 32 | **** Selector disabled **** |
_o_TLSv1_0 | Longint | 1 | Deprecated |
_o_TLSv1_1 | Longint | 2 | Deprecated |
_o_Unicode mode | Longint | 41 | **** Selector disabled **** |
_o_Web conversion mode | Longint | 8 | **** Selector disabled **** |
_o_Web Log recording | Longint | 29 | Scope: 4D local, 4D Server Kept between two sessions: Yes Description: Constant obsolete (kept for compatibility reasons only). We now recommend using the WEB SET OPTION and WEB GET OPTION commands for configuring the HTTP server. |
4D Remote mode timeout | Longint | 14 | Scope (legacy network layer only): 4D application if value positive Kept between two sessions: Yes if value positive Description: To be used in very specific cases. Value of the timeout granted by the remote 4D machine to the 4D Server machine. The default timeout value used by 4D in remote mode is set on the "Client-Server/Network options" page of the Database settings dialog box on the remote machine. The 4D Remote mode timeout selector is only taken into account if you are using the legacy network. It is ignored when the ServerNet layer is activated: this setting is entirely managed by the 4D Server timeout (13) selector. |
4D Server log recording | Longint | 28 | Scope: 4D Server, 4D remote |
4D Server timeout | Longint | 13 | Scope: 4D application if value positive Kept between two sessions: Yes if value positive Possible values: 0 -> 32 767 Description: Value of the 4D Server timeout. The default 4D Server timeout value is defined on the "Client-Server/Network options" page of the Database settings dialog box on the server side. The server timeout sets the maximum period "authorized" to wait for a client response, for example when it is executing a blocking operation. After this period, 4D Server disconnects the client. The 4D Server Timeout selector allows you to set, in the corresponding value parameter, a new timeout expressed in minutes. This feature is particularly useful to increase the timeout before executing a blocking and time-consuming operation on the client, such as printing a large number of pages, which can cause an unexpected timeout. You also have two options:
|
Auto synchro resources folder | Longint | 48 | Scope: 4D remote machine Kept between two sessions: No Possible values: 0 (no synchronization), 1 (auto synchronization) or 2 (ask). Description: Dynamic synchronization mode for Resources folder of 4D client machine that executed the command with that of the server. When the contents of the Resources folder on the server has been modified or a user has requested synchronization (for example via the resources explorer or following the execution of the SET DATABASE LOCALIZATION command), the server notifies the connected client machines. Three synchronization modes are then possible on the client side. The Auto Synchro Resources Folder selector is used to specify the mode to be used by the client machine for the current session:
|
Cache flush periodicity | Longint | 95 | Scope: 4D local, 4D Server Kept between two sessions: No Possible values: longint > 1 (seconds) Description: Gets or sets the current cache flush periodicity, expressed in seconds. Modifying this value overrides the Flush Cache every X Seconds option in the XML DECODE of the Database settings for the session (it is not stored in the Database settings). |
Cache unload minimum size | Longint | 66 | Scope: 4D application Kept between two sessions: No Possible values: Positive longint > 1. Description: Minimum size of memory to release from the database cache when the engine needs to make space in order to allocate an object to it (value in bytes). The purpose of this selector is to reduce the number of times that data is released from the cache in order to obtain better performance. You can vary this setting according to the size of the cache and that of the blocks of data being handled in your database. By default, if this selector is not used, 4D unloads at least 10% of the cache when space is needed. |
Character set | Longint | 17 | Scope: 4D local, 4D Server Kept between two sessions: Yes Description: Constant obsolete (kept for compatibility reasons only). We now recommend using the WEB SET OPTION and WEB GET OPTION commands for configuring the HTTP server. |
Circular log limitation | Longint | 90 | Scope: 4D local, 4D Server. |
Client character set | Longint | 24 | Scope: All 4D remote machines Kept between two sessions: Yes Possible values: See selector 17 Description: Used to specify this parameter for all the remote 4D machines used as Web servers. The values defined using these selectors are applied to all the remote machines used as Web servers. If you want to define values only for certain remote machines, use the Preferences dialog box of 4D in remote mode. |
Client HTTPS port ID | Longint | 40 | Scope: All 4D remote machines Kept between two sessions: Yes Possible values: 0 to 65535 Description: TCP port number used by the Web servers of the client machines for secure connections via SSL (HTTPS protocol). By default, the value is 443 (standard value). This selector can be used to modify by programming the TCP port used by the Web servers of the client machines for secure connections via SSL (HTTPS protocol). By default, the value is 443 (standard value). This selector operates exactly the same way as selector 39; however, it applies to all the 4D remote machines used as Web servers. If you only want to modify the value of certain specific client machines, use the Preferences dialog box of the remote 4D. |
Client log recording | Longint | 45 | Scope: Remote 4D machine |
Client max concurrent Web proc | Longint | 25 | Scope: All 4D remote machines Kept between two sessions: Yes Possible values: See selector 18 Description: Used to specify this parameter for all the remote 4D machines used as Web servers. The values defined using these selectors are applied to all the remote machines used as Web servers. If you want to define values only for certain remote machines, use the Preferences dialog box of 4D in remote mode. |
Client port ID | Longint | 22 | Scope: All 4D remote machines Kept between two sessions: Yes Possible values: See selector 15 Description: Used to specify this parameter for all the remote 4D machines used as Web servers. The values defined using these selectors are applied to all the remote machines used as Web servers. If you want to define values only for certain remote machines, use the Preferences dialog box of 4D in remote mode. |
Client Server port ID | Longint | 35 | Scope: Database Kept between two sessions: Yes Possible values: 0 to 65535 Description: TCP port number where the 4D Server publishes the database (bound for 4D remote machines). By default, the value is 19813. Customizing this value means that several 4D client-server applications can be used on the same machine with the TCP protocol; in this case, you must indicate a different port number for each application. The value is stored in the database structure file. It can be set with 4D in local mode but is only taken into account in client-server configuration. When you modify this value, it is necessary to restart the server machine in order for the new value to be taken into account. |
Client Web log recording | Longint | 30 | Scope: All 4D remote machines Kept between two sessions: Yes Possible values: 0 = Do not record (default), 1 = Record in CLF format, 2 = Record in DLF format, 3 = Record in ELF format, 4 = Record in WLF format. Description: The operation of this selector is identical to that of selector 29; however, it applies to all the 4D remote machines used as Web servers. The "logweb.txt" file is, in this case, automatically placed in the Logs subfolder of the remote 4D database folder (cache folder). If you only want to set values for certain client machines, use the Preferences dialog box of 4D in remote mode. |
Current process debug log recording | Longint | 111 | Scope: 4D application
|
Date type | Longint | 2 | Date type selector for Dates inside objects |
Dates inside objects | Longint | 85 | Scope: Current process Kept between two sessions: No Possible values: String type without time zone (0), String type with time zone (1), Date type (2) (default) Description: Defines the way dates are stored within objects, as well as how they will be imported/exported in JSON. When the selector value is Date type (default value for databases created with 4D v17 and higher), 4D dates are stored with the date type within objects, with respect to the local date settings. When converted to JSON format, date attributes will be converted to strings which do not include a time. (Note: this setting can be set by means of the "Use date type instead of ISO date format in objects" option found on the Compatibility page of the Database Settings). Passing String type with time zone in this selector will convert 4D dates into ISO strings and take the local time zone into account. For example, converting the date 23/08/2013 gives you "2013-08-22T22:00:000Z" in JSON format when the operation is performed in France during Daylight Savings Time (GMT+2). This principle conforms to the standard operation of JavaScript. This can be a source of errors when you want to send JSON date values to someone in a different time zone. For example, when you export a table using Selection to JSON in France that is meant to be reimported in the US using JSON TO SELECTION. Since dates are re-interpreted in each time zone, the values stored in the database will be different. In this case, you can modify the conversion mode for dates so that they do not take the time zone into account by passing String type without time zone in this selector. Converting the date 23/08/2013 will then give you "2013-08-23T00:00:00Z" in all cases. |
Debug log recording | Longint | 34 | Scope: 4D application Two modes are available: |
Diagnostic log level | Longint | 86 | Scope: 4D application
|
Diagnostic log recording | Longint | 79 | Scope: 4D application |
Direct2D disabled | Longint | 0 | See selector 69 (Direct2D Status) |
Direct2D get active status | Longint | 74 | Note: You can only use this selector with the Get database parameter command and its value cannot be set. Description: Returns active implementation of Direct2D under Windows. Possible values: 0, 1, 2, 3, 4 or 5 (see values of selector 69). The value returned depends on the availability of Direct2D, the hardware and the quality of Direct2D support by the operating system. For example, if you execute: SET DATABASE PARAMETER(Direct2D status;Direct2D Hardware) - On Windows 7 and higher, $mode is set to 1 when the system detects hardware compatible with Direct2D; otherwise, $mode is set to 3 (software context). - On Windows Vista, $mode is set to 1 when the system detects hardware compatible with Direct2D; otherwise, $mode is set to 0 (disabling of Direct2D). - On Windows XP, $mode is always set to 0 (not compatible with Direct2D). |
Direct2D hardware | Longint | 1 | See selector 69 (Direct2D Status) |
Direct2D software | Longint | 3 | See selector 69 (Direct2D Status) |
Direct2D status | Longint | 69 | Scope: 4D application |
HTTP compression level | Longint | 50 | Scope: 4D application Kept between two sessions: No Description: Constant obsolete (kept for compatibility reasons only). We now recommend using the WEB SET OPTION and WEB GET OPTION commands for configuring the HTTP server. |
HTTP compression threshold | Longint | 51 | Scope:4D application Kept between two sessions: No Description: Constant obsolete (kept for compatibility reasons only). We now recommend using the WEB SET OPTION and WEB GET OPTION commands for configuring the HTTP server. |
HTTPS Port ID | Longint | 39 | Scope: 4D local, 4D Server Kept between two sessions: Yes Description: Constant obsolete (kept for compatibility reasons only). We now recommend using the WEB SET OPTION and WEB GET OPTION commands for configuring the HTTP server. |
Idle connections timeout | Longint | 54 | Scope:4D application unless value is negative |
IMAP Log | Longint | 119 | Scope: 4D local, 4D Server |
Is current database a project | Longint | 112 | Note: You can only use this selector with the Get database parameter command and its value cannot be set. |
Is host database a project | Longint | 113 | Note: You can only use this selector with the Get database parameter command and its value cannot be set. |
Is host database writable | Longint | 117 | Note: You can only use this selector with the Get database parameter command and its value cannot be set. |
Libldap version | Longint | 114 | Scope: Current 4D machine |
Libsasl version | Longint | 115 | Scope: Current 4D machine |
Libzip version | Longint | 120 | Scope: Current 4D machine |
Log command list | Longint | 80 | Scope: 4D application SET DATABASE PARAMETER(Log command list;"277;341") //Record only the QUERY and QUERY SELECTION commands |
Log debug | Longint | 3 | See selector 86 (Diagnostic log level) |
Log error | Longint | 6 | See selector 86 (Diagnostic log level) |
Log info | Longint | 4 | See selector 86 (Diagnostic log level) |
Log trace | Longint | 2 | See selector 86 (Diagnostic log level) |
Log warn | Longint | 5 | See selector 86 (Diagnostic log level) |
Max concurrent Web processes | Longint | 18 | Scope: 4D local, 4D Server Kept between two sessions: Yes Description: Constant obsolete (kept for compatibility reasons only). We now recommend using the WEB SET OPTION and WEB GET OPTION commands for configuring the HTTP server. |
Maximum Web requests size | Longint | 27 | Scope: 4D local, 4D Server Kept between two sessions: Yes Description: Constant obsolete (kept for compatibility reasons only). We now recommend using the WEB SET OPTION and WEB GET OPTION commands for configuring the HTTP server. |
Min TLS version | Longint | 105 | Scope: 4D Server, 4D Web Server and 4D SQL Server
NOTES: |
Number of formulas in cache | Longint | 92 | Scope: 4D application Kept between two sessions: No Possible values: Positive longints Default value: 0 (no cache) Description: Sets or gets the maximum number of formulas to be kept in the cache of formulas, which is used by the EXECUTE FORMULA command. This limit is applied to all processes, but each process has its own formula cache. Caching formulas accelerates the EXECUTE FORMULA command execution in compiled mode since each cached formula is tokenized only once in this case. When you change the cache value, existing contents are reset even if the new size is larger than the previous one. Once the maximum number of formulas in the cache is reached, a new executed formula will erase the oldest one in the cache (FIFO mode). This parameter is only taken into account in compiled databases or compiled components. |
OpenSSL version | Longint | 94 | Scope: all 4D machines Kept between two sessions: No Description: Returns the version number of the OpenSSL library in use on the machine. (Read only) |
Order by formula on server | Longint | 47 | Scope: Current table and process Kept between two sessions: No Possible values: 0 (use database configuration), 1 (execute on client) or 2 (execute on server) Description : Execution location of ORDER BY FORMULA command for the table passed in the parameter. When using a database in client-server mode, this command can be executed either on the server or on the client machine. This selector can be used to specify the execution location of this command (server or client). This mode can also be set in the database preferences. For more information, please refer to the description of selector 46, Query By Formula On Server. Note: If you want to be able to enable "SQL type" joins (see the QUERY BY FORMULA Joins selector), you must always execute formulas on the server so that they have access to the records. Be careful, in this context, the formula must not contain any calls to a method, otherwise it will automatically be switched to the remote machine. |
Pause logging | Longint | 121 | Scope: 4D application |
PHP interpreter IP address | Longint | 55 | Scope: 4D application Kept between two sessions: No Values: Formatted string of the IPv4 type (for example "127.0.0.1") or IPv6 type (for example "2001:0db8:0000:0000:0000:ff00:0042:8329") Description: IP address used locally by 4D to communicate with the PHP interpreter via FastCGI. By default, the value is "127.0.0.1" (addresses in IPv6 format are supported starting with 4D v16R4). This address must correspond to the machine where 4D is located. This parameter can also be set globally for all the machines via the Database Settings. For more information about the PHP interpreter, please refer to the Design Reference manual. |
PHP interpreter port | Longint | 56 | Scope: 4D application Kept between two sessions: No Values: Positive long integer type value. By default, the value is 8002. Description: Number of the TCP port used by the PHP interpreter of 4D. This parameter can also be modified globally for all the machines via the Database Settings. For more information about the PHP interpreter, please refer to the Design Reference manual. |
PHP max requests | Longint | 58 | Scope: 4D application |
PHP number of children | Longint | 57 | Scope: 4D application |
PHP use external interpreter | Longint | 60 | Scope: 4D application |
POP3 Log | Longint | 116 | Scope: 4D local, 4D Server |
Port ID | Longint | 15 | Scope: 4D local, 4D Server Kept between two sessions: No Description: The Port ID selector is useful for 4D Web Servers compiled and merged with 4D Desktop (in which there is no access to the Design mode). For more information about the TCP port ID, refer to the Web Server Settings section. |
Query by formula joins | Longint | 49 | Scope: Current process Kept between two sessions: No Possible values: 0 (use database configuration), 1 (always use automatic relations) or 2 (use SQL joins if possible). Description: Operating mode of the QUERY BY FORMULA and QUERY SELECTION BY FORMULA commands relating to the use of "SQL joins." In databases created starting with version 11.2 of 4D v11 SQL, these commands carry out joins based on the SQL joins model. This mechanism can be used to modify the selection of a table according to a query carried out on another table without these tables being connected by an automatic relation (necessary condition in previous versions of 4D). The QUERY BY FORMULA Joins selector lets you specify the operating mode of the query by formula commands for the current process:
|
Query by formula on server | Longint | 46 | Scope: Current table and process Kept between two sessions: No Possible values: 0 (use database configuration), 1 (execute on client) or 2 (execute on server) Description: Execution location of QUERY BY FORMULA and QUERY SELECTION BY FORMULA commands for the table passed in the parameter. When using a database in client-server mode, the query "by formula" commands can be executed either on the server or on the client machine:
If you pass 0 in the value l’parameter, the execution location of query "by formula" commands will depend on the database configuration: in databases created with 4D v11 SQL, these commands will be executed on the server. In converted databases, they will be executed on the client machine or the server according to the database preferences. Pass 1 or 2 in value to "force" the execution of these commands, respectively, on the client or on the server machine. Refer to example 2. Note: If you want to be able to enable "SQL type" joins (see the QUERY BY FORMULA Joins selector), you must always execute formulas on the server so that they have access to the records. Be careful, in this context, the formula must not contain any calls to a method, otherwise it will automatically be switched to the remote machine. |
Remote connection sleep timeout | Longint | 98 | Scope: 4D Server application |
Server base process stack size | Longint | 53 | Scope: 4D Server Kept between two sessions: No Possible values: Positive longint. Description: Size of the stack allocated to each preemptive system process on the server, expressed in bytes. The default size is determined by the system. Preemptive system processes (processes of the 4D client base process type) are loaded to control the main 4D client processes. The size allocated by default to the stack of each preemptive process allows a good ease of execution but may prove to be consequential when very large numbers of processes (several hundred) are created. For optimization purposes, this size can be reduced considerably if the operations carried out by the database allow for it (for example if the database does not carry out sorts of large quantities of records). Values of 512 or even 256 KB are possible. Be careful, under-sizing the stack is critical and can be harmful to the operation of 4D Server. Setting this parameter should be done with caution and must take the database conditions of use into account (number of records, type of operations, etc.). In order to be taken into account, this parameter must be executed on the server machine (for example in the On Server Startup Database Method). |
SMTP Log | Longint | 110 | Scope: 4D local, 4D Server Kept between two sessions: No Possible values: 0 or from 1 to X (0 = do not record, 1 to X = sequential number, added to the file name). By default, the value is 0 (SMTP exchanges not recorded). Description: Starts or stops the recording of exchanges between 4D and the SMTP server, when a transporter object is processed through transporter.send( ) or SMTP_transporter.checkConnection( ). By default, the value is 0 (exchanges not recorded). When this mechanism is enabled, a log file is created in the Logs folder of the database. It is named 4DSMTPLog_X.txt, where X is the sequential number of the log. Once the file 4DSMTPLog has reached a size of 10 MB, it is closed and a new one is generated, with an incremented sequential number. If a file of the same name already exists, it is replaced directly. You can set the starting number of the sequence using the value parameter. By default, all files are kept, but you can control the number of files to keep using the Circular log limitation parameter. For more information on the 4DSMTPLog_X.txt files, please refer to the Description of log files section. |
Spellchecker | Longint | 81 | Scope: 4D application Kept between two sessions: No Possible values: 0 (default) = native macOS spellchecker (Hunspell disabled), 1 = Hunspell spellcheck enabled. Description: Enables the Hunspell spellcheck under macOS. By default, the native spellchecker is enabled on this platform. You may prefer to use the Hunspell spellcheck, for example, in order to unify the interface for your cross-platform applications (under Windows, only the Hunspell spellcheck is available). For more information, refer to Spell checking. |
SQL Autocommit | Longint | 43 | Scope: Database Kept between two sessions: Yes Possible values: 0 (deactivation) or 1 (activation) Description: Activation or deactivation of the SQL auto-commit mode. By default, the value is 0 (deactivated mode) The auto-commit mode is used to strengthen the referential integrity of the database. When this mode is active, all SELECT, INSERT, UPDATE and DELETE (SIUD) queries are automatically included in ad hoc transactions when they are not already executed within a transaction. This mode can also be set in the Preferences of the database. |
SQL Engine case sensitivity | Longint | 44 | Scope: Database This option can also be set in the Database settings. |
SQL Server Port ID | Longint | 88 | Scope: 4D local, 4D Server. Kept between two sessions: Yes Description: Gets or sets the TCP port number used by the integrated SQL server of 4D in local mode or 4D Server. By default, the value is 19812. When this selector is set, the database setting is updated. You can also set the TCP port number on the "SQL" page of the Database Settings dialog box. Possible values: 0 to 65535. Default value: 19812 |
SSL cipher list | Longint | 64 | Scope: 4D application |
String type with time zone | Longint | 1 | String type with time zone selector for Dates inside objects |
String type without time zone | Longint | 0 | String type without time zone selector for Dates inside objects |
Table sequence number | Longint | 31 | Scope: 4D application Kept between two sessions: Yes Possible values: Any longint value. Description: By default, this unique number is set by 4D and corresponds to the order of record creation. For additional information, refer to the documentation of the Sequence number command. |
Times in milliseconds | Longint | 1 | Times storage selector for Times inside objects |
Times in seconds | Longint | 0 | Times storage selector for Times inside objects |
Times inside objects | Longint | 109 | Scope: 4D local, 4D Server (all processes) Kept between two sessions: No Possible values: Times in seconds (0) (default), Times in milliseconds (1) Description: Defines the way time values are converted and stored within object properties and collection elements, as well as how they will be imported/exported in JSON and in Web areas. By default, starting with 4D v17, times are converted and stored as number of seconds in objects. In previous releases, time values were converted and stored as number of milliseconds in those contexts. Using this selector can help you migrating your applications by reverting to previous settings if necessary. Note: ORDA methods and SQL engine ignore this setting, they always assume time values to be numbers of seconds. |
Tips delay | Longint | 102 | Scope: 4D application Kept between two sessions: No Possible values: longint >= 0 (ticks) Description: Delay before tips are displayed once the mouse cursor has stopped in objects with attached help messages. Value is expressed in ticks (1/60th of a second). Default value is 45 ticks (0.75 seconds). |
Tips duration | Longint | 103 | Scope: 4D application Kept between two sessions: No Possible values: longint >= 60 (ticks) Description: Maximum display duration for a tip. Value is expressed in ticks (1/60th of a second). Default value is 720 ticks (12 seconds). |
Tips enabled | Longint | 101 | Scope: 4D application Kept between two sessions: No Possible values: 0 = tips disabled, 1 = tips enabled (default) Description: Sets or gets the current display status of the tips for the 4D application. By default, tips are enabled. Note that this parameter sets all 4D tips, i.e. form help messages and Design mode editor's tips. |
TLSv1_2 | Longint | 3 | See selector 105 (Min TLS version). |
TLSv1_3 | Longint | 4 | See selector 105 (Min TLS version). |
Use legacy network layer | Longint | 87 | Scope: 4D in local mode, 4D Server Kept between two sessions: Yes Description: Sets or gets the current status of the legacy network layer for client/server connections. The legacy network layer is obsolete beginning with 4D v14 R5 and should be replaced progressively in your applications with the ServerNet network layer. ServerNet will be required in upcoming 4D releases in order to benefit from future network evolutions. For compatibility reasons, the legacy network layer is still supported to allow a smooth transition for existing applications; (it is used by default in applications converted from a release prior to v14 R5). Pass 1 in this parameter to use the legacy network layer (and disable ServerNet) for your client/server connections, and pass 0 to disable the legacy network (and use the ServerNet). This property can also be set by means of the "Use legacy network layer" option found on the Compatibility page of the Database Settings (see Network and Client-Server options). In this section, you will also find a discussion about migration strategy. We recommend that you activate the ServerNet as soon as possible. You will need to restart the application in order for this parameter to be taken into account. Possible values: 0 or 1 (0 = do not use legacy layer, 1 = use legacy layer) Default value: 0 in databases created with 4D v14 R5 or higher, 1 in databases converted from 4D v14 R4 or earlier. |
User param value | Longint | 108 | Scope: 4D local, 4D Server Kept between two sessions: No Possible values: Any custom string Description: Custom string passed from one session to the next one when the 4D application is restarted. This selector is useful in the context of automated unit tests that require applications to restart with different parameters.
(*) If SET DATABASE PARAMETER sets a User param value before a call to OPEN DATABASE with a .4DLink file that also contains a user-param xml attribute, 4D takes into account only the parameter provided by SET DATABASE PARAMETER. |
Product: 4D
Theme: List of constant themes
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)