2. Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
3. CRYSTAL REPORT
ARJUN S R
Arjun.sr007@gmail.com
www.facebook.com/arjun.a
ryavartham
twitter.com/arjun.sr007
in.linkedin.com/in/arjun.sr0
07
9745649882
4. TRDITIONAL REPORTING
CURRENT REPORTS…
•Are generated manually
•Are distributed via email
•Only provide “one view” and are
static
•Contain outdated information
BUSINESS IMPACT
•Report backlog delays decision
making
•Sensitive information may leak to
unintended audiences
•Lack of interactivity makes
answering questions challenging
•IT staff is overwhelmed with
requests for updated reports
6. • Crystal reports is the reporting tool of visual studio, an OEM (Original
Equipment Manufacturer) of business objects.
• Crystal Reports has been part of Visual Studio since 1993, and is now the
standard for reporting in Visual Studio . It ships with every copy of Visual
Studio and is integrated directly into the development environment.
• Ability to create interactive, presentation-quality content to the windows
environment.
• Create complex and professional reports in a GUI-based program
• You can host your report in either a Web or Windows application
• You can connect your report to almost any database source, as well as to
proxy data, such as a result set (for example, an ADO.NET Dataset). With
the wizards included in the GUI designer, you can easily set formatting,
grouping, charting, and other criteria.
7. • Your reports can be related to your Visual Studio 2005 project in many
ways:
Embed your reports directly into the project.
Access them externally, from a file directory.
Access them as a Report Web Service from a remote server.
• An embedded Crystal Reports designer, assisted by wizards and experts,
builds complex report files easily
• A Crystal Reports SDK interacts with and modifies reports
programmatically. Use one of four different object models, each with
increasing levels of complexity and power
• An exporting feature exports data from the Crystal Report Viewer control
to Word, Excel, PDF, and HTML, and Crystal Reports formats.
• The ability to print from the Crystal Report Viewer control enables page-
based report printing from any Web or Windows application.
8. • Multilingual client support allows you to configure the
CrystalReportViewer control so that other languages can be displayed in
the Tool Tips, determined by the client browser, the ASPX page, or the
environment settings for the machine
• Report Web Services, from an ASP.NET Web Service project, allow you to
create a project, add a Crystal Report, and publish it as a Web service
• Crystal Reports for Visual Studio can access and report off the following
data sources:
-Any database with an ODBC driver
-Any database with an OLEDB Provider
-Microsoft Access databases
-Microsoft Excel workbooks
-ADO.NET datasets
-ADO.NET datatables
-RDO recordsets
-XML Data in SQL Server 2005
-User Defined Types (UDT) in SQL Server 2005 etc,.
9. PROVIDER CONTROLS
There are two provided controls
The CrystalReportViewer control
This control displays the report in a page-based layout, with the ability to
move between pages.
The CrystalReportPartsViewer control
The control displays report summary information in a small, portal-like
window, with the ability to drill down deeper into the report through a
series of linked parts.
10. CrystalReportViewer control Export button formats
• Adobe Acrobat (.pdf)
• Crystal Reports (.rpt)
• Microsoft Excel (.xls)
• Microsoft Rich Text (.rtf)
• Microsoft Word (.doc)
OBJECT MODELS
-CrystalReportViewer
- ReportDocument
- ReportClientDocument
- InfoObject
11. • CrystalReportViewer, the simplest object model. The classes of this
object model are contained within the CrystalDecisions.Web namespace
for the Web Form version of this control or
CrystalDecisions.Windows.Forms namespace for the Windows Form
version of this control
• ReportDocument, the more extensive object model. The classes of this
object model contained within the
CrystalDecisions.CrystalReports.Engine namespace. This is an
extensive set of classes that provide more powerful customization and
interaction capability with the report
• ReportClientDocument, the most extensive object model. The classes of this
object model are contained within the CrystalDecisions.ReportAppServer group
of namespaces.
• InfoObject, a powerful object model for scheduling and configuring reports within
the Crystal Reports Server or BusinessObjects Enterprise framework. The classes of
this object model are contained within the CrystalDecisions.Enterprise group of
namespaces.
12. REPORTING TYPES
-There may be mainly of two types of reporting methods that can be used to
implemented with in the visual studio.
1.Push method.
-using the concept of data set. helps in disconnected environments.
2.Pull method.
-Using direct data base access method. This is a connected environment
method.
13. REPORT GENERATING STEPS (PULL METHODE)
1. From your desktop, go to Start, Programs, Crystal Reports 11. You may
also have an icon on your desktop you can double-click to launch the
program.
2. In the Getting Started frame, click Blank Report. The Database Expert
screen appears.
14. 3. Click the plus beside Create New Connection to expand the tree view.
4. Click the plus beside Database Files. The Open screen appears so you
can find your Raiser’s Edge database file.
5. Highlight the .mdb file you need, and click Open. You return to the
Database Expert screen. Notice all your database fields are listed in the
tree view.
15. 6. Highlight the path to your .mdb file in the Available Data Sources box.
7. To move all of the fields in the .mdb file to the Selected Tables box, click
the right double arrow button.The fields appear in the box to indicate
they have been included for your Crystal report.
16. 8. Click OK. The Visual Linking Expert on the Links tab appears.
9. Click
10. To display the Field Explorer frame, select View, Field Explorer from the
menu bar. The frame appears on the right side of the screen.
17. 11. This frame contains all the fields you exported from The Raiser’s Edge.
You will use these fields to build your report.
18. If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
19. Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com