Advanced - Registry Options
The c-tree Drivers set several Registry keys. Use the ConfigDSN() function to programmatically configure the c-tree ODBC Driver Data Source. Most c-tree Driver subkeys correspond to configuration entries shown in the table below. The other entries in this section are only adjustable in the Registry. All the subkeys below are in the key \\HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ <dname>, where <dname> defaults to one of the following:
- FairCom c-tree Driver for the c-tree V4 driver
- FairCom 32bit Driver for the 32bit c-tree Plus driver
- FairCom 16bit Driver for the 16bit c-tree Plus driver
Registry subkey
|
Configuration option
|
Alignment
|
Alignment
|
AllowUpdates
|
Allow Updates
|
CaseSensitive
|
Case-insensitive string Comparison
|
ColumnsOrderedBy
|
Column Order
|
CommEncryption
|
Use FETCPIP.DLL if Yes.
|
DataBuffers
|
Data Buffer Size
|
DataDictionary
|
Script Name
|
DBQ
|
Data Dictionary Path
|
DebugCtree
|
c-tree Plus Debug
|
DebugIndex
|
Debug Indexes
|
Description
|
Description
|
EnableFPUExceptions
|
Not a configuration option. See below.
|
Files
|
Number of Files
|
ForceClose
|
Not a configuration option. See below.
|
GuestLogin
|
Logon to Server as Guest
|
IndexBuffers
|
Index Buffer Size
|
KanjiConvert
|
Not a configuration option. See below.
|
MaxColSupport
|
Table’s max number of columns
|
OEMtoANSI
|
OEM to ANSI Data Conversion
|
Protocol
|
Driver Type
|
Sectors
|
Sector Size
|
ServerName
|
Server Name
|
SpecialTypes
|
Special Data Type Conversion DLL Name
|
StringDataPadding
|
Data Padding
|
StringKeyPadding
|
Key Padding
|
It is also possible to use these keywords in a connection string that uses a DSN. The effect is to override the particular settings that are specified. For example: “DSN=FairCom 32bit Driver;Alignment=4;” uses the settings from the registry for the data source ‘FairCom 32bit Driver’ and forces the alignment setting to 4.
Note: Three registry settings (ForceClose, KanjiConvert, and EnableFPUExceptions) are not supported in the command string.
|