Download presentation
Presentation is loading. Please wait.
1
Crystal Reports Programming In Visual Basic.NET
2
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 2 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
3
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 3 Add New Crystal Report Item Project menu, Add New Item,Choose Crystal Report Name the template
4
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 4 Crystal Report Gallery Usually the easiest way to create a report!
5
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 5 Standard Report Expert Wizard - First Screen
6
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 6 Standard Report Expert Wizard - First Screen (cont.)
7
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 7 Standard Report Expert Wizard - Selecting Fields
8
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 8 Crystal Reports Report Designer with the Layout Created
9
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 9 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
10
© 2001 by The McGraw-Hill Companies, Inc. All rights reserved. 13 10 Final Report
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.