4D v16Installation on Windows |
||||||||
|
4D v16
Installation on Windows
Installation on Windows
4D provides two versions (a 32-bit and a 64-bit) of the ODBC Driver installer for Windows. You can download one (or both) of the following files from the 4D web site:
You choose your driver based on the version of your ODBC client, and not that of your 4D or 4D Server. For example, if you are using a 32-bit version of Excel 2010 with a 64-bit 4D Server, then you'll need a 32-bit ODBC Driver. You can even install both of the drivers on the same machine. Remember to uninstall any previous versions of ODBC Driver before installing a new one. Note: If you install the 32-bit Installer on a 64-bit OS, you must use the 32-bit ODBC Data Source Administrator instead of the default 64-bit one. You can retrieve the appropriate ODBC administrator at the following locations:
Warning: The 32-bit administrator is found in "syswow64" and the 64-bit one is in "system32." Since this is not intuitive, you need to make sure not to mistake one for the other. For more information about the ODBC Data Source Administrators, please refer to the following Microsoft technical note: A DSN (Data Source Name) is a set of registry keys that enables an application, the ODBC client, to link to the native SQL Server of 4D or 4D Server. Applications such as Crystal Reports®, Word and/or Excel can all be OBDC clients, and you can also write your own OBDC client using Python, PHP, C, C++ or any language that enables ODBC use. After running the ODBC Driver installer, you need to define a DSN in order to connect to the desired database. To add a DSN, you launch the ODBC Data Source Administrator by selecting Start/Control Panel/Administrative Tools/Data Sources (ODBC). Click on the "Drivers” tab to check that the 4D ODBC Driver is correctly installed: To add a DSN using the 4D ODBC Driver:
The fields of these dialog boxes need to be filled in with the following information:
Clicking on the Advanced >> button gives you access to additional options as shown here: Timeouts (Seconds)
Favorite image formats Pictures stored in 4D databases are retrieved by ODBC as Blobs. This setting lets you select the formats you prefer. By default, if you do not choose any favorites, 4D selects the best format available with respect to screen display. When you choose one or more formats, 4D only provides one of those formats (in order of preference). If there are no pictures available in any of your favorite formats, 4D converts the pictures to the first format in the list. For example, if you have selected GIF and JPEG as your favorite image formats: 4D first checks whether there are any .gif or .jpeg formats available. If neither are available, then it converts the formats to .gif since it is first in the list. Encoding: sets the text encoding.
Cache Settings: used to modify how the network handles the cache. Generally, these settings should be left untouched. Compatibility: settings to enable the ODBC Driver to work properly with OpenQuery, MSAccess and/or Windev. They should only be checked if you encounter problems with these particular applications. If you intend to completely remove a 4D ODBC Driver, you must first remove all the Data Source Names created for this driver. This can be done from the ODBC Data Source Administrator: If you only intend to upgrade a 4D ODBC Driver, you do not need to remove the attached DSNs. To remove a 4D ODBC Driver, simply launch the 4D ODBC Installer and choose the Remove option; the installer will take care of the rest:
|
EIGENSCHAFTEN
Produkt: 4D
GESCHICHTE
ARTIKELVERWENDUNG
4D ODBC Driver ( 4D v16) |
||||||