To configure a FoxPro 3.0 database container data source :
1. Start the ODBC Administrator:
◦ On Windows, start the ODBC Administrator by selecting its icon from the Progress DataDirect program group.
◦ On Linux, change to the install_dir/tools directory and, at a command prompt, enter:
odbcadmin
where install_dir is the path to the product installation directory.
2. Select a tab:
◦ User DSN: If you are configuring an existing user data source, select the data source name and click Configure to display the driver Setup dialog box.
If you are configuring a new user data source, click Add to display a list of installed drivers. Select the driver and click Finish to display the driver Setup dialog box.
◦ System DSN: If you are configuring an existing system data source, select the data source name and click Configure to display the driver Setup dialog box.
If you are configuring a new system data source, click Add to display a list of installed drivers. Select the driver and click Finish to display the driver Setup dialog box.
◦ File DSN: If you are configuring an existing file data source, select the data source file and click Configure to display the driver Setup dialog box.
If you are configuring a new file data source, click Add to display a list of installed drivers; then, select a driver. Click Advanced if you want to specify attributes; otherwise, click Next to proceed. Specify a name for the data source and click Next. Verify the data source information; then, click Finish to display the driver Setup dialog box.
The General tab of the Setup dialog box appears by default.
Figure 75. General tab
Note: The General tab displays only fields that are required for creating a data source. The fields on all other tabs are optional, unless noted otherwise.
3. On this tab, provide values for the options in the following table; then, click Apply. The table provides links to descriptions of the connection options.
Click Select to choose the directory and .DBC file that you want to use.
4. Optionally, click the Advanced tab to specify data source settings.
Figure 76. Advanced tab
On this tab, provide values for any of the options in the following table; then, click Apply. The table provides links to descriptions of the connection options.
Translate: Click Translate to display the Select Translator dialog box, which lists the translators specified in the ODBC Translators section of the Registry. Progress DataDirect provides a translator named OEM to ANSI that translates your data from the IBM PC character set to the ANSI character set.
Select a translator; then, click OK to close this dialog box.
5. At any point during the configuration process, you can click Test Connect to attempt to connect to the data source using the connection properties specified in the driver Setup dialog box.
◦ If the driver can connect, it releases the connection and displays a connection established message. Click OK.
◦ If the driver cannot connect because of an incorrect environment or connection value, it displays an appropriate error message. Click OK.
6. Click OK or Cancel. If you click OK, the values you have specified become the defaults when you connect to the data source. You can change these defaults by using this procedure to reconfigure your data source. You can override these defaults by connecting to the data source using a connection string with alternate values.