Introduction
Reporting functionality is a typical application requirement, but most commonly used reporting tools are designed to run against relational databases. ATK, however, lets you easily build tabular views of the data in an ObjectStore database using most common report generating tools, including Crystal Reports. Software resources
To complete this tutorial, you need the following software resources:
Resource | Where to Find It |
---|---|
Database | \odi\ATK6.0\Examples\demodbs\ carsdemo.db |
Crystal Reports Version 4.x or later | Seagate Software at http://www.seagate.com/ |
In this chapter
In this chapter, you create a data view that you can use with any reporting tool. Then, you use Crystal Reports to create a report. This chapter contains these sample exercises:
Create a Data View for the Report
Process
Specify the data that is available for the report. To do so, follow these steps: 1 Create a new data view.
2 Customize the data view.
Modify the Vehicle class instance format to display owner information for each vehicle.
3 Save the data view.
Create a Report Using Crystal Reports
Overview
Using the ObjectStore Active Toolkit OLE DB provider and ISG Navigator, you can access an ObjectStore database from any ODBC consumer application. Process
To do this, follow these steps: 1 Start the Report Wizard.
ODBC-ODIATKDEMO.
2 Create the report.
3 Group the report data by year.
4 Preview the report.
Preview the report by clicking the Preview Report button on the
3: Sort sheet of the Create Report Expert dialog box.
Summary
In this chapter, you created a data view that makes particular data items available for querying. Then you used the Crystal Reports wizard to create a report that queries an ODBC data source and displays the data items that you specify.
Updated: 05/11/99 12:01:06