On the Windows Start menu, click Settings, click Control Panel, click Administrative Tools, click Data Sources (ODBC). The ODBC Data Source Administrator dialog box is displayed.
In the ODBC Data Source Administrator dialog box, click the User DNS tab if you want the data source to be visible only to you on this machine, or click the System DSN tab if you want the data source to be visible to others on this machine and on the network. Click Add. The Create New Data Source dialog box is displayed.
You may not use the File DSN tab, because Fdo does not support its use.
In the Create New Data Source dialog box, click Oracle in <ORACLE_HOME_NAME>, click Finish. The Oracle ODBC Driver Configuration dialog box is displayed.
<ORACLE_HOME_NAME> represents the value of the Windows registry ORACLE_HOME_NAME parameter. See HKEY_LOCAL_MACHINE/ SOFTWARE/ORACLE/KEY_<ORACLE_HOME_NAME>
In this dialog box, in the text entry box labeled Data Source Name , type the name that you want to use as the value of the DataSourceName connection property.
In this dialog in the text entry box labeled TNS Service Name, type the <SERVICE_NAME> found in the tnsnames.ora file.
For example, here’s a typical path to the tnsnames.ora file: C:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN. In this file there are entries similar to the following: ORCL = (..(CONNECT_DATE = (...(SERVICE_NAME = orcl)))
Providing a value for UserId parameter is optional. In this dialog in the text entry box labeled User ID type in all uppercase the name of an Oracle user. Click Test Connection. The Oracle ODBC Driver Connect dialog appears. The Service Name and User Name text entry boxes are populated. Type the password in the text box labeled Password. Click Test Connection. The Testing Connection dialog appears, saying that the connection is successful. Click OK to close this dialog. Click OK to close the Configuration dialog.
If you type the User ID in all uppercase letters, you will be able to use all lowercase or all uppercase letters for the UserID connection property value; otherwise you will have to use all uppercase for that value.
In the ODBC Data Source Administrator dialog box, you see the DSN that you just added listed. Click OK.