License Reports (LicenseReports.mdb)

Use the License Reports tool to access the software metering database and to generate reports by using Microsoft Access 97. In order for this tool to work, the following requirements must be met on the computer that this tool is run on:

For information about creating an ODBC data source connection and preparing reports, see “Using License Reports.”

License Reports Runs On

Processors: i386, Alpha
Operating systems: Windows NT 4.0

Files Required for License Reports

LicenseReports.mdb

Using License Reports

This section includes procedures for performing the following tasks:

Creating and configuring an ODBC data source connection

Before you can use the License Reports tool, you must first create and configure an ODBC data source connection.

Procedure Bullet  To configure an ODBC data source connection

  1. Click the Start button, point to Settings, and then click Control Panel.
  2. Double-click the ODBC icon.
  3. In the ODBC Data Source Administrator dialog box, click the System DSN tab, and then click Add.
  4. System DSN tab of the ODBC Data Source Administrator dialog box

  5. In the Create New Data Source dialog box, select SQL Server from the list of drivers, and then click Finish.
  6. Create New Data Source dialog box, with SQL Server driver selected

  7. In the Create New Data Source to SQL Server dialog box, complete the Name, Description, and Server fields. The server is the name of the software metering server you want to use.


    Note   If you are using SQL Server version 6.5, the next four dialog boxes are replaced by one dialog box (the ODBC SQL Server Setup dialog box), which prompts you to enter the equivalent information.


  8. First page in Create a New Data Source to SQL Server Wizard, with fields for data source name and description, and computer running SQL Server.

  9. Click Next, and then select the authentication method for the SQL Server logon. Windows NT authentication requires that the software metering database be set up with integrated security.
  10. Second page in Create a New Data Source to SQL Server Wizard, with fields for the authentication method

  11. In the Create a New Data Source to SQL Server dialog box, use the default settings (Use ANSI quoted identifiers and Use ANSI nulls, paddings and warnings), and then click Next.
  12. Third page in Create a New Data Source to SQL Server Wizard

  13. In the Create a New Data Source to SQL Server dialog box, use the default settings, and then click Finish.
  14. Fourth and final page in Create a New Data Source to SQL Server Wizard

  15. In the ODBC Microsoft SQL Server Setup dialog box, click Test Data Source.
  16. ODBC Microsoft SQL Server Setup dialog box, summarizing the settings chosen in the Create a New Data Source to SQL Server Wizard

  17. When the test is successfully completed, click OK in the SQL Server ODBC Data Source Test dialog box.
  18. SQL Server ODBC Data Source Test dialog box, with message stating that SQL Server ODBC driver tests were completed successfully

Configuring and testing the ODBC data source connection in Access 97

After you create and configure the ODBC data source connection, you must configure and test the connection in Access 97, as described in the following procedure.

Procedure Bullet  To configure and test the data source connection in Access 97

  1. In Access 97, open LicenseReports.mdb.
  2. In the Software Metering Reports dialog box, click Modify ODBC Settings.
  3. Software Metering Reports dialog box in Access 97

  4. In the ODBC Settings dialog box, complete the settings so that they match the settings you used to create and configure the ODBC data source connection. You must complete the following settings:
    SQL DSN Name
    The name of the ODBC data source connection.
    SQL DSN UID
    The Windows NT account or SQL Server User ID, depending on the authentication method you selected when configuring the ODBC connection.
    SQL DSN Database
    The name of the software metering database.
    SQL DSN PWD
    The password for the Windows NT account or SQL Server User ID.
    SQL DSN ReadOnly
    The table open mode of the SQL Server data: 1 = Read Only, 0 = Full Access

    ODBC_Settings dialog box in Access 97

  5. After you complete the settings in the ODBC_Settings dialog box, click Done.
  6. In the Software Metering Reports dialog box, click Test ODBC Connections.
  7. In the ODBC Connection Tester dialog box, click SQL DSN.

If the test runs without generating an error message, you are ready to start preparing reports.

Preparing reports by using the License Reports tool

If the ODBC data source connection tested correctly, you can start generating reports. To do so, use the following procedure.

Procedure Bullet  To prepare reports by using the License Reports tool

  1. In the Software Metering Reports dialog box, click Prepare Metering Reports.

    If an error occurs at this point, the ODBC data source connection has not been configured correctly. Otherwise, you can select a report and begin reporting.

  2. Software Metering Reports dialog box in the License Reports tool. The License Summary by Product report is selected.

  3. To prepare a report, select the desired report from the Report Selection list.
  4. Modify the appropriate information in Parameters for Usage Data, and then click Prepare Report.

    All available parameters are listed, even though they are not required for all reports. For example, the Ignored Programs report requires no parameters and prints the list. Any parameters you select will persist across sessions, which allows you to prepare reports without having to reenter the parameters.

The License Reports tool creates tables linked to the ODBC connection. When you close this tool, the connections are also closed.