3.4.2 Registering the database on Windows NT 4
To register the bank.mdb database with ODBC on Windows NT 4:
- 1. From the Windows Start menu, choose Start > Settings > Control Panel.
- 2. Double-click the ODBC or 32bit ODBC icon.
- The ODBC Data Source Administrator appears.
- 3. Select the User DSN page.
- 4. Click Add....
- 5. Select Microsoft Access Driver from the list of available drivers.
- 6. Click Finish.
- The ODBC Microsoft Access Setup dialog appears.
- 7. In the ODBC Microsoft Access Setup dialog, enter
bankDB in the Data Source Name field.
- 8. Click Select....
- The Select Database dialog appears.
We can now specify the database file name. The file is stored under the top-level Functional Developer installation folder, in the subfolder:
Examples\corba\bank\bank-server
- 9. In the Select Database dialog, browse until you reach the folder above.
- 10. Select
bankDB.mbd from the list of available files, then click OK.
- 11. Click OK again to close the ODBC Microsoft Access Setup dialog.
- 12. Click OK to close the ODBC Data Source Administrator.
We also need to ensure that the bank.mdb file is writable.
- 1. Right-click on the file in a Windows Explorer window.
- 2. Select Properties from the shortcut menu.
- 3. Clear the Read-only attribute if it is checked, and click OK.
The ODBC setup work for the demo is now complete. We can move on to building and running the demo itself.