ADOTest Sample

This sample lists the properties of the ActiveX Data Objects.

Before using the Database Access component to access the Access database for this sample, you must configure the database by using the ODBC applet in the Windows control panel:

  1. Open the Control Panel on the Windows PC running your webserver.
  2. Double-click the ODBC/ODBC Data Sources icon and then switch to System DSN Tab.

    NOTE: The System DSN stores information about how to access your database. The System DSN is available to all users of your computer while the User DSN is available only to you. The File DSN can be shared by users who have the same database drivers installed.

  3. Click the Add button and choose the Microsoft Access Driver, and then click the Finish button.
  4. In the Data Source Name input box, type "studentdatabase".
  5. In the Database area, click the Select button. Select the studentreg.mdb database file located in [d:][\iasp]\samples\database.

    NOTE:[d:][\iasp] indicates the destination drive and directory where Instant ASP is installed.

  6. Click the OK button in the Select Database dialog box.
  7. Click the OK button in the ODBC Microsoft Access Setup dialog box to finish data source configuration.
  8. Click the OK button to close the ODBC/ODBC Data Source Administrator dialog box.

Copyright © 1998-2000, Halcyon Software Inc. All rights reserved.