If you are using Microsoft Windows, you must first create and configure the ODBC connection to your data source by means of the ODBC Data Source Administrator before you can create the ODBC source system in the PCo Management Console. To do so, you must create a Data Source Name (DSN) for the data source in the ODBC Data Source Administrator.
If you are using Microsoft Windows, you must first create and configure the ODBC connection to your data source by means of the ODBC Data Source Administrator before you can create the ODBC source system in the PCo Management Console. To do so, you must create a Data Source Name (DSN) for the data source in the ODBC Data Source Administrator.
Procedure
-
You can start the ODBC Data Source Administrator from the start menu under .
After the odbcad32.exe is started, the ODBC Data Source Administrator dialog box is displayed.
-
You must add a Data Source Name for the database that you want to use as the data source. The following types are available:
-
User DSN
On the User DSN tab, you can add a user-specific Data Source Name (DSN) for the data source of your choice. If you are using a User DSN, a connection is only created for the Windows user who is logged on and only that user can see and use this connection.
-
System DSN
You can add an entry for the data source of your choice on the System DSN tab. All users who log on to the system can then see and use the System DSN.
-
You have to select an ODBC driver for the data source. The ODBC drivers are provided by each database provider. For that reason, the dialog for configuring the ODBC connection can be built up differently.
- You can start the ODBC Data Source Administrator from the start menu under .After the odbcad32.exe is started, the ODBC Data Source Administrator dialog box is displayed.
- You must add a Data Source Name for the database that you want to use as the data source. The following types are available:
- User DSNOn the User DSN tab, you can add a user-specific Data Source Name (DSN) for the data source of your choice. If you are using a User DSN, a connection is only created for the Windows user who is logged on and only that user can see and use this connection.
- System DSNYou can add an entry for the data source of your choice on the System DSN tab. All users who log on to the system can then see and use the System DSN.
- You have to select an ODBC driver for the data source. The ODBC drivers are provided by each database provider. For that reason, the dialog for configuring the ODBC connection can be built up differently.
Example
Example for creating a System DSN for an Excel file that you want PCo to use as the data source:
-
In the ODBC Data Source Administrator, click the System DSN tab.
-
Choose the Add pushbutton.
The Create New Data Source dialog box appears.
-
Choose the driver; for example, Microsoft Excel Driver (*.xls).
The ODBC Microsoft Excel Set Up dialog box appears.
-
Enter the following data:
-
Data Source Name
Here you can enter a name of your choice for the file that you want to use as a data source. This name is displayed later in PCo on the ODBC Database Connection tab with the addition (System DSN).
-
Description
You can enter a short description here.
-
Version
Choose the Excel version of your file.
-
Choose the Select Workbook pushbutton to select the directory and the Excel file you want.
-
Confirm by choosing OK.
The System DSN is now displayed in the ODBC Data Source Administrator and in the PCo Management Console on the ODBC Database Connection tab.
Example for creating a System DSN for an Excel file that you want PCo to use as the data source:
- In the ODBC Data Source Administrator, click the System DSN tab.
- Choose the Add pushbutton.The Create New Data Source dialog box appears.
- Choose the driver; for example, Microsoft Excel Driver (*.xls).The ODBC Microsoft Excel Set Up dialog box appears.
- Enter the following data:
- Data Source NameHere you can enter a name of your choice for the file that you want to use as a data source. This name is displayed later in PCo on the ODBC Database Connection tab with the addition (System DSN).
- DescriptionYou can enter a short description here.
- VersionChoose the Excel version of your file.
- Choose the Select Workbook pushbutton to select the directory and the Excel file you want.
- Confirm by choosing OK.The System DSN is now displayed in the ODBC Data Source Administrator and in the PCo Management Console on the ODBC Database Connection tab.
No comments:
Post a Comment