Skip to main content

Professional Crystal Reports for Visual Studio .NET

Professional Crystal Reports for Visual Studio .NET

David McAmis

ISBN: 978-0-764-54403-3

Oct 2002

360 pages

Select type: Paperback

Product not available for purchase


What is this book about?

Virtually all applications need to present data to users, but any work beyond basic formatting — charts or conditional formatting, for example — can be very complex to program manually. Crystal Reports is one of the world's leading software packages for creating interactive reports, and it provides developers with an array of tools for creating rich reports that can be published on the Web or integrated within applications. Versions of Crystal Reports have been included with Visual Studio since 1993 but the latest version, Crystal Reports .NET, is now integrated more closely than ever before with Visual Studio .NET.

This book provides a detailed guide to the functionality provided with Crystal Reports .NET and shows you how to integrate reports into your .NET applications. The examples are in VB.NET, but Crystal Reports .NET itself is largely operated by a clear language-neutral user interface in the main, allowing reports to be created and manipulated in practically every .NET language supported by Visual Studio.

What does this book cover?

Here is just a sampling of what you'll find covered in this book:

  • Crystal Reports .NET overview
  • Report integration for Windows and Web-based applications
  • Creating XML report web services
  • Working with .NET data, formulas, and logic
  • The reports engine
  • Distributing your application

Who is this book for?

This book is aimed mainly at readers who have some experience with Crystal Reports and want a comprehensive guide to the functionality included with Crystal Reports .NET, but it will also be valuable to programmers who are getting their first taste of Crystal Reports through the Visual Studio .NET development environment.


Chapter 1: Crystal Reports.NET Overview.

Chapter 2: Getting Started with Crystal Reports.NET.

Chapter 3: Report Integration for Windows-Based Applications.

Chapter 4: Report Integration for Web-Based Applications.

Chapter 5: Creating XML Report Web Services.

Chapter 6: Working with .NET Data.

Chapter 7: Formulas and Logic.

Chapter 8: Working with the Crystal Reports Engine.

Chapter 9: Distributing Your Application.

Appendix A: Troubleshooting.

Appendix B: Migrating Applications to Crystal Reports.NET.

Appendix C: Crystal vs. Basic Syntax.


Download code samples for this book.
ChapterPageDetailsDatePrint Run
0Duplicated word in "About the Author" section

"About the Author" Section - Paragraph 1 - line3 : mobile applications applications



Near the bottom of the page in the second line of the highlighted text change "Chapter04" to "Chapter03"


120Obsolete class referenced
It lists that there is a class named ExceptionEventArgs for the CrystalDecisions.Web namespace. I cannot find any reference to this (much to my intense chagrin) within the On-Line Help provided with the product. ------------------------------ ExceptionEventArgs was included in the beta, but not in the full release. ------------------------------

135Screenshot not above but opposite

page 135, paragraph 5 (centre of page), "...using the screenshot above as a guide" - screenshot is actually on facing page.


139Web not Windows Form Viewer

last paragraph, second line should read "Web Forms Viewer" instead of "Windows Forms Viewer"


143Missing words in sentence

paragraph 7, line 1 : So, we are put some code behind our export buttons. Should be, "So, we are going to put some code..."


210"No" should be "Yes"

You may also want to have a look at Page 210 where it describes that "You can select No to leave the formula without correcting the error ...". The question in the dialog box that appears when errors are detected is "There is an error in this formula. Do you want to exit anyway?". In this case, No signifies that you do not want to exit.


244Possible code issue in database connection

The logging onto a database code shown on pages 244-245 in Chapter 8 did not work for me as shown. When run, it would prompt for logon information. To get it to work I had to move the following two statements AFTER the For Each MyTable section.... CrystalReportViewer1.ReportSource = myReport myReport.Load() I'm not sure if the myReport.Load() is even necessary? It seems to work with it or without it.