Sample Applications
Crystal Reports includes a complete sample application written in Visual Basic 5.0 using the Crystal Report Engine Automation Server. The Xtreme Mountain Bike Inventory Application is a complete real-world application that provides various reports to employees at a fictitious company. Report access is restricted based on user logon information. The application is located in \Program Files\Seagate Software\Crystal Reports\sample\Xtreme\Inventory and provides the option of viewing the source code for any Visual Basic form displayed.
In addition, a self-extracting executable located in the \Program Files\Seagate Software\Crystal Reports\sample\sam32aut (or sam16aut) directory contains three small sample applications that demonstrate various aspects of the Crystal Report Engine Automation Server. Simply run the SAM32AUT.EXE application to install the samples. The three samples are:
- AUBASIC
Demonstrates the basic code required to open a report and print, preview, or export it using the Crystal Report Engine Automation Server.
- AUBROWSE
Demonstrates how to browse through the areas of a report and access the objects in each area.
- AUFMLA
Demonstrates how to get and set record selection formulas, group selection formulas, and SQL queries stored with a report.