Knowledge Base

inGOT Notification #010009

HOWTO: Reporting via MS-SQL inGOT Database

Information in this article applies to:

- inGOT v3.x and v4.x
- Microsoft SQL Database Logging

Overview

The inGOT system comes bundled with a set of MS-Access reports. These reports can be used even if inGOT is storing data in a MS-SQL database. However some modification to the MS-Access database will be required. This article explains how to modify the MS-Access inGOT database so it can be used against an MS-SQL database.

ODBC Connection

To enable MS-Access to access an MS-SQL database an OBDC connection must be established from the local workstation to the MS-SQL server. These steps are required to create an ODBC connection:

  1. Open the ODBC Data Source Administrator (via Control Panel/Administrative Tools)
  2. Select the ‘System DSN’ tab
  3. Press the ‘Add’ button to create an new DSN
  4. Select the ‘SQL Server’ driver and press ‘Finish’
  5. Give the DSN a unique name
  6. Select your MS-SQL Server and press ‘Next’
  7. Select ‘SQL Server’ authentication, enter the SQL UserID & Password and press ‘Next’
  8. Change the default database to the ‘inGOT’ database and press ‘Next’
  9. Press ‘Finish’
  10. Test Data Source to ensure connectivity is working correctly.

You will now be able to access the inGOT SQL database from within MS-Access via this data source connection.

Database Update

These steps are required to update the MS-Access database to access the MS-SQL database:

  1. Open the inGOT.MDB database in MS-Access
  2. Minimise the Report Console if it opens automatically
  3. From the Database window select the ‘Tables’ view
  4. Select ‘File/Get External Data/Link Tables’ from the menu
  5. Change the ‘Files of Type’ drop-down box to ‘ODBC Databases’
  6. Select the ‘Machine Data Sources’ tab
  7. Select the ODBC Data Source created above and press ‘OK’.
  8. From the Tables window select all tables and press ‘OK’
  9. Duplicate SQL tables, with a preceding ‘dbo_’ name should now be available from the MS-Access Tables window.
  10. In turn, delete each corresponding MS-Access table and rename the SQL linked table, removing the ‘dbo_’.
  11. NB: The table names must be identical to the previous MS-Access table names
  12. DO NOT delete MS-Access tables that do not have a corresponding MS-SQL linked table
  13. There should now be an identical set of tables in MS-Access except that most of the tables are linked to the MS-SQL server database.

It should now be possible to run any of the existing reports, from the Report Console. The data in the reports will now be retrieved from the SQL database.

For further clarification please contact the Liverton support team at .

Last Updated 12 February 2004

Copyright Liverton Ltd. ©2002