List of Listings
Chapter 18: The Object-Oriented Primer
Listing 18.1: Stand-alone Program
Listing 18.2: Interest Calculation Library
Listing 18.3: Interest Program One
Listing 18.4: Interest Program Two
Listing 18.5: Interest Program One
Listing 18.6: Interest Program Two
Listing 18.7: Stand-alone Example Subroutines and Functions
Listing 18.8: Creating a DLL
Listing 18.9: Using Methods and Functions in a DLL
Listing 18.10: LoanCustomer Object
Listing 18.11: Using the Loan Object
Listing 18.12: Customer Object
Listing 18.13: Loan Object
Listing 18.14: Using the Loan and Customer Objects
Listing 18.15: Customer Object
Listing 18.16: Responding to an Event
Chapter 19: Building Windows Applications with the Report Designer Component
Listing 19.1: Crystal Expert-Generated Code
Listing 19.2: Implementing Counters in a Format Event
Listing 19.3: Changing Record and Group Selection
Listing 19.4: Displaying a Message If a Report Has No Data
Listing 19.5: Changing a Picture at Runtime
Listing 19.6: Changing Sort Criteria
Listing 19.7: Techniques for Looping through a Collection
Listing 19.8: Setting Report Parameters
Listing 19.9: Redisplaying a Report after Changing Parameter Values
Listing 19.10: Setting Export Options in Code to Export a Report to PDF Format
Listing 19.11: Setting Report Parameters
Listing 19.12: Changing Report Formuals at Runtime
Listing 19.13: Changing a Graph at Runtime
Listing 19.14: Looping through the Objects in a Section
Listing 19.15: Accessing a Subreport
Listing 19.16: Looping through Sections in a Report
Listing 19.17: Displaying Connection Information
Listing 19.18: Displaying a Report Only after a User Enters a User ID and Password
Listing 19.19: Switching Databases
Listing 19.20: Choosing a Report to Open at Runtime
Listing 19.21: Modifying the Crystal Report Designer
Chapter 20: ASP Web Applications
Listing 20.1: GenericReportViewer.asp<% LANGUAGE=”VBSCRIPT” %>
Chapter 21: .NET Applications
Listing 21.1: Simple.sln
Listing 21.2: A Bit Less Simple.sln
Listing 21.3: C# Loading of a Crystal Report at Runtime
Listing 21.4: Runtime Report Object Customization
Listing 21.5: Using a Cached Report Class in a Viewer
Chapter 24: Report Application Server
Listing 24.1: The default Code
Listing 24.2: Default View Code
Listing 24.3: Interactive Viewer Code
Appendix C: Crystal Reports and Java
Listing C.1: clientSDKOptions.xml