To use the Report Helper with NWIND.MDB:

Start Access 1.1 and open NWIND.MDB.
Choose File/Import... and Import all of the objects from QBF.MDB.
Open the SavedQueries form to begin using the Report Helper.  To create a new custom report, click the "New.." button on the SavedQueries form.

The Custom Report Helper will create 2 objects: a query and a report.  Both of these will have an "@" prefix to denote a custom report.  Any query that begins with "@" will appear in the SavedQueries list.

To customize the Report Helper for your application:

Start Access 1.1 and open your .MDB.
Choose File/Import... and Import all of the objects from QBF.MDB.
Modify the Fields table to reflect the fields in your database.  A quick way to get a list of the fields in your tables is to use the Database Analyzer (ANALYZER.MDA) and analyze the tables in your database.
Modify the "CreateReviewQuery" function in the Utilities module.  You will see a code block like the following:

	SQLStatement = SQLStatement & "FROM Categories, Customers, Employees, [Order Details], Orders, Products, Suppliers, Shippers, "
      SQLStatement = SQLStatement & "Customers INNER JOIN Orders ON Customers.[Customer ID] = Orders.[Customer ID],"
      SQLStatement = SQLStatement & "Employees INNER JOIN Orders ON Employees.[Employee ID] = Orders.[Employee ID],"
      SQLStatement = SQLStatement & "Orders INNER JOIN [Order Details] ON Orders.[Order ID] = [Order Details].[Order ID],"
      SQLStatement = SQLStatement & "Categories INNER JOIN Products ON Categories.[Category ID] = Products.[Category ID],"
      SQLStatement = SQLStatement & "Products INNER JOIN [Order Details] ON Products.[Product ID] = [Order Details].[Product ID],"
      SQLStatement = SQLStatement & "Suppliers INNER JOIN Products ON Suppliers.[Supplier ID] = Products.[Supplier ID],"
      SQLStatement = SQLStatement & "Shippers INNER JOIN Orders ON Shippers.[Shipper ID] = Orders.[Ship Via] "

Create a "database diagram" query that joins all of your related tables together.  Choose View/SQL... from the query menu and Copy the "FROM" clause of the SQL into the "CreateReviewQuery" module.  (Make sure that the format of the code follows the above structure)
Open the SavedQueries form and you're on your way!



INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY ACCOMPANY THIS DOCUMENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. The user assumes the entire risk as to the accuracy and the use of this document/software. This document/software may be copied and distributed. 


