Crystal Reports Programming In Visual Basic.NET
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Crystal Reports Gallery contains "experts" to guide you in creating standard reports, forms and even mailing labels Can publish reports on Windows Form or on Web Forms Create and Display a Report –Add a form to the project –Add a Report Designer –Design the Report Template –Add a CrystalReportViewer control to a form –Connect the control to the template –Call the report form from the main form
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Add New Crystal Report Item Project menu, Add New Item,Choose Crystal Report Name the template
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Crystal Report Gallery Usually the easiest way to create a report!
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Standard Report Expert Wizard - First Screen
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Standard Report Expert Wizard - First Screen (cont.)
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Standard Report Expert Wizard - Selecting Fields
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Crystal Reports Report Designer with the Layout Created
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Adding the Report to a form Add a CrystalReportViewer control to a form Prefix - rpt ReportSource Property: set to the template Anchor Property: –Set for all 4 edges so that the control will resize if the form is resized In the main form add a button or a menu option to invoke the report form
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved Final Report