SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Creating Reports

Objectives
In this lesson, you will learn to:
Identify the need for generating Crystal Reports
Identify the Crystal Report Data Access models
Create a Crystal Report for a Windows Form application
Host a Crystal Report in a Windows application
Enhance the Crystal Report presentation




    ©NIIT                            Creating Reports/Lesson 8/Slide 1 of 26
Creating Reports

Crystal Report
Is the standard reporting tool for Visual Studio .NET used to
       display summarized data.
Needs database drivers to connect with the data source for
     accessing data.
Supports two methods to access data from a data source:
    The Pull model
    The Push model




   ©NIIT                         Creating Reports/Lesson 8/Slide 2 of 26
Creating Reports

Problem Statement 8.D.1
The Sales Manager of Diaz Telecommunications needs to
view a report containing the order details and the summarized
revenue for each month. The data should be presented in
such a way that it can be analyzed easily.




   ©NIIT                         Creating Reports/Lesson 8/Slide 3 of 26
Creating Reports

Task List
Identify the data that needs to be displayed in the Crystal
       Report and the format in which the data is to be
displayed.
Identify the method to create a Crystal Report.
Identify the method to enhance the Crystal Report
presentation.
Identify the method to host Crystal Report in a Windows
application.
Create a Crystal Report for Windows application.
Host the Crystal Report in the Windows application.
View the Crystal Report.
   ©NIIT                          Creating Reports/Lesson 8/Slide 4 of 26
Creating Reports

Task 1: Identify the data that needs to be displayed
in the Crystal Report and the format in which the
data is to be displayed.
Result:
As per the given problem statement, the data to be
displayed in the Crystal Report is as follows:
     Date
     Inv
     CustID
     ProdID
     Cost
     Advance
   ©NIIT                        Creating Reports/Lesson 8/Slide 5 of 26
Creating Reports

Task 2: Identify the method to create a Crystal
Report.
You can create a Crystal Report by using three methods:
    Manually
    Using Standard Report Expert
    From an existing report
Result:
 You will create the Crystal Report by using the Standard
  Report Expert since it involves minimum steps.




   ©NIIT                         Creating Reports/Lesson 8/Slide 6 of 26
Creating Reports

Task 3: Identify the method to enhance the Crystal
Report presentation.
The presentation quality of a Crystal Report can be
enhanced by adding the following components to the
Crystal Report:
    Chart
           ® Allows   easy analysis of the presented data.
           ® Is   created to present summarized fields.
    Cross-Tab object
           ® Isa grid and is inserted in a Crystal Report when the
             data is to be displayed in form of compact rows,
             columns, and summary fields.
           ® Helps   in comparing and identifying trends.

   ©NIIT                               Creating Reports/Lesson 8/Slide 7 of 26
Creating Reports

Task 3: Identify the method to enhance Crystal
Report presentation. (Contd.)
Result:
Since the data is to be used for analysis purposes, you
need to insert a chart in the Crystal Report.




   ©NIIT                         Creating Reports/Lesson 8/Slide 8 of 26
Creating Reports

Task 4: Identify the method to host the Crystal
Report in a Windows application.
A Crystal Report can be hosted in a Windows Form by
using the Windows Forms Viewer.
Windows Forms Viewer
    Is present as a control in the Toolbox.
    Can be inserted into a Windows application by dragging
     the CystalReportViewer control from the Toolbox into
     the form.
    Can interact with other controls on the Windows Form.
Result:
You will use the Windows Forms Viewer to deliver the
Crystal Report in the Windows application.

   ©NIIT                         Creating Reports/Lesson 8/Slide 9 of 26
Creating Reports

Task 5: Create a Crystal Report for the Windows
application.
Task 6: Host the Crystal Report in the Windows
application.
Task 7: View the Crystal Report.




   ©NIIT                    Creating Reports/Lesson 8/Slide 10 of 26
Creating Reports

Problem Statement 8.D.2
The Sales Manager of Diaz Telecommunications needs to
view a summarized report containing the order details for the
products with sale price greater than $3000 to identify the
potential market for the products in the coming period. In
addition, the Sales Manager also needs to view the
percentage of the sale price paid as advance for each order.




   ©NIIT                         Creating Reports/Lesson 8/Slide 11 of 26
Creating Reports

Task List
Identify the data that needs to be displayed in the Crystal
       Report and the format in which the data is to be
displayed.
Identify the method to create a Crystal Report.
Identify the method to host Crystal Report in a Windows
application.
Retrieve the filtered data from the database.
Create a Crystal Report for Windows application.
Host the Crystal Report in the Windows application.
Write the code to connect to the database.
View the Crystal Report from the Windows Forms Viewer.
   ©NIIT                         Creating Reports/Lesson 8/Slide 12 of 26
Creating Reports

Task 1: Identify the data that needs to be displayed
in the Crystal Report and the format in which the
data is to be displayed.
Result:
As per the given problem statement, the data to be
displayed in the Crystal Report is as follows:
    ProdID
    Inv
    Date
    CustID



   ©NIIT                       Creating Reports/Lesson 8/Slide 13 of 26
Creating Reports

Task 1: Identify the data that needs to be displayed
in the Crystal Report and the format in which the
data is to be displayed. (Contd.)
    Cost
    Advance
    Percentage of the sale price paid as advance




   ©NIIT                       Creating Reports/Lesson 8/Slide 14 of 26
Creating Reports

Task 2: Identify the method to create a Crystal
Report.
Result:
Since a calculated field of percentage needs to be displayed
      in the report, you will create the Crystal Report
manually.
Task 3: Identify the method to host the Crystal
Report in a Windows application.
Result:
You will use the Windows Forms Viewer to host the Crystal
     Report in the Windows application.


   ©NIIT                        Creating Reports/Lesson 8/Slide 15 of 26
Creating Reports

Task 4: Retrieve the filtered data from the database.
Task 5: Create a Crystal Report for the Windows
application.
Task 6: Host the Crystal Report in the Windows
application.
Task 7: Write the code to connect to the database.
Task 8: View the Crystal Report from the Windows
Forms Viewer.




   ©NIIT                    Creating Reports/Lesson 8/Slide 16 of 26
Creating Reports

Problem Statement 8.P.1
An HR Manager of Diaz Telecommunications needs to view a
report containing the query handling details for each employee
after 9th July 2001 (the date of creation of the HR policy). The
data should be displayed in the form of compact rows and
columns with an average customer feedback for each
employee.




   ©NIIT                         Creating Reports/Lesson 8/Slide 17 of 26
Creating Reports

Problem Statement 8.D.3
The Sales Manager of Diaz Telecommunications needs to
view a summarized product-wise order details report. The
product name for each product also needs to be displayed in
the report.




   ©NIIT                        Creating Reports/Lesson 8/Slide 18 of 26
Creating Reports

Task List
Identify the data that needs to be displayed in the Crystal
      Report.
Identify the method to create a Crystal Report.
Identify the method to host Crystal Report in a Windows
application.
Create a Crystal Report for the Windows application.
Host the Crystal Report in the Windows application.
View the Crystal Report from the Windows Forms Viewer.




   ©NIIT                         Creating Reports/Lesson 8/Slide 19 of 26
Creating Reports

Task 1: Identify the data that needs to be displayed
in the Crystal Report.
Result:
As per the given problem statement, the data to be
displayed in the Crystal Report is as follows:
    Prod ID
    Product Name
    Inv
    Date
    CustID
    Cost
    Advance
   ©NIIT                       Creating Reports/Lesson 8/Slide 20 of 26
Creating Reports

Task 2: Identify the method to create a Crystal
Report.
Result:
You will create the Crystal Report by using the Standard
Report Expert since it involves minimum steps.
Task 3: Identify the method to host the Crystal
Report in a Windows application.
Result:
 You will use the Windows Forms Viewer to deliver the
Crystal Report in the Windows application.



   ©NIIT                        Creating Reports/Lesson 8/Slide 21 of 26
Creating Reports

Task 4: Create a Crystal Report for the Windows
application.
Task 5: Host the Crystal Report in the Windows
application.
Task 6: View the Crystal Report from the Windows
Forms Viewer.




   ©NIIT                   Creating Reports/Lesson 8/Slide 22 of 26
Creating Reports

Summary
In this lesson, you learned that:
Crystal Report is the standard reporting tool for Visual
Studio .NET for displaying data of presentation quality.
Crystal Reports use database drivers to connect with the
      data source for accessing data.
Crystal Reports in Visual Basic .NET supports two methods
      to access data from a data source:
     The Pull model
     The Push model



   ©NIIT                            Creating Reports/Lesson 8/Slide 23 of 26
Creating Reports

Summary (Contd.)
The presentation quality of a Crystal Report can be
enhanced by adding the following components to the
Crystal Report:
    Chart
    Cross-tab object
A Crystal Report can be hosted in a Windows Form by
using the Windows Forms Viewer.
Apart from allowing an easy viewing of the Crystal Report in
      a Windows application, the Windows Forms Viewer
also dynamically updates the Crystal Report that is hosted.



   ©NIIT                        Creating Reports/Lesson 8/Slide 24 of 26
Creating Reports

Summary (Contd.)
 The Windows Forms Viewer can be inserted into a
  Windows application by dragging the CystalReportViewer
  control from the Toolbox into the form.
 The Windows Forms Viewer contains the following
  components:
    Toolbar
    Group Tree
    Main Report Window
 An interaction can be created between the Windows Forms
  Viewer and other controls on the Windows Form by
  handling the events of the Windows Form controls and the
  Windows Forms Viewer.
   ©NIIT                       Creating Reports/Lesson 8/Slide 25 of 26
Creating Reports

Summary (Contd.)
To display a Crystal Report, it has to be bound to a
CrystalReportViewer control.
A Crystal Report can be bound to a CrystalReportViewer
       control by setting the ReportSource property of the
CrystalReportViewer control to the path of the Crystal
Report file.




   ©NIIT                        Creating Reports/Lesson 8/Slide 26 of 26

Weitere ähnliche Inhalte

Andere mochten auch

Efmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.NetEfmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.NetEfmi Maiyana
 
MS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data miningMS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data miningDataminingTools Inc
 
Database Operation di VB.NET
Database Operation di VB.NETDatabase Operation di VB.NET
Database Operation di VB.NETFgroupIndonesia
 
Generate a report using crystal reports in visual studio 2010 code project
Generate a report using crystal reports in visual studio 2010   code projectGenerate a report using crystal reports in visual studio 2010   code project
Generate a report using crystal reports in visual studio 2010 code projectKaing Menglieng
 
Visual 2010 sql server 2008
Visual 2010 sql server 2008Visual 2010 sql server 2008
Visual 2010 sql server 2008Alex Vasquez
 
Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Slideshare
 
E book vb.net+mysql(cara cepat)
E book vb.net+mysql(cara cepat)E book vb.net+mysql(cara cepat)
E book vb.net+mysql(cara cepat)Zoeliandri Sapoetra
 
Seri Belajar Mandiri – Pemrograman VB.NET Untuk Pemula
Seri Belajar Mandiri – Pemrograman VB.NET Untuk PemulaSeri Belajar Mandiri – Pemrograman VB.NET Untuk Pemula
Seri Belajar Mandiri – Pemrograman VB.NET Untuk PemulaAgus Kurniawan
 
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal ReportInsert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal ReportRahmat Taufiq Sigit
 
Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0Salim M
 

Andere mochten auch (10)

Efmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.NetEfmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
Efmi modul vb net Pembahasan kasus Penjualan dengan VB.Net
 
MS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data miningMS SQL SERVER: Programming sql server data mining
MS SQL SERVER: Programming sql server data mining
 
Database Operation di VB.NET
Database Operation di VB.NETDatabase Operation di VB.NET
Database Operation di VB.NET
 
Generate a report using crystal reports in visual studio 2010 code project
Generate a report using crystal reports in visual studio 2010   code projectGenerate a report using crystal reports in visual studio 2010   code project
Generate a report using crystal reports in visual studio 2010 code project
 
Visual 2010 sql server 2008
Visual 2010 sql server 2008Visual 2010 sql server 2008
Visual 2010 sql server 2008
 
Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010
 
E book vb.net+mysql(cara cepat)
E book vb.net+mysql(cara cepat)E book vb.net+mysql(cara cepat)
E book vb.net+mysql(cara cepat)
 
Seri Belajar Mandiri – Pemrograman VB.NET Untuk Pemula
Seri Belajar Mandiri – Pemrograman VB.NET Untuk PemulaSeri Belajar Mandiri – Pemrograman VB.NET Untuk Pemula
Seri Belajar Mandiri – Pemrograman VB.NET Untuk Pemula
 
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal ReportInsert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
Insert, Edit, Delete pada VB 2010 dengan DB Mysql dan Crystal Report
 
Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0Basic controls of Visual Basic 6.0
Basic controls of Visual Basic 6.0
 

Ă„hnlich wie Vb net xp_08

05 gui 07
05 gui 0705 gui 07
05 gui 07Niit Care
 
Vb net xp_15
Vb net xp_15Vb net xp_15
Vb net xp_15Niit Care
 
Crystal report
Crystal reportCrystal report
Crystal reportEverywhere
 
Vb net xp_06
Vb net xp_06Vb net xp_06
Vb net xp_06Niit Care
 
ONLINE NOTICE AND REPORT GENERATOR PLATFORM
ONLINE NOTICE AND REPORT GENERATOR PLATFORMONLINE NOTICE AND REPORT GENERATOR PLATFORM
ONLINE NOTICE AND REPORT GENERATOR PLATFORMIRJET Journal
 
crystalReport.pptx
crystalReport.pptxcrystalReport.pptx
crystalReport.pptxsamreen82
 
MS .Net - An IntelliSense Way of Web Development
MS .Net - An IntelliSense Way of Web DevelopmentMS .Net - An IntelliSense Way of Web Development
MS .Net - An IntelliSense Way of Web DevelopmentEdureka!
 
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web Development
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web DevelopmentWebinar: Microsoft .NET Framework : An IntelliSense Way of Web Development
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web DevelopmentEdureka!
 
Tackling Billing Challenges in Relativity Webinar Presentation
Tackling Billing Challenges in Relativity Webinar PresentationTackling Billing Challenges in Relativity Webinar Presentation
Tackling Billing Challenges in Relativity Webinar PresentationYuliyana Mihaylova
 
Vb net xp_09
Vb net xp_09Vb net xp_09
Vb net xp_09Niit Care
 
Our Journey Implementing Business Intelligence
Our Journey Implementing Business IntelligenceOur Journey Implementing Business Intelligence
Our Journey Implementing Business IntelligenceDan Lantz
 
Fr net programmermanual-en
Fr net programmermanual-enFr net programmermanual-en
Fr net programmermanual-enMorenita Batista
 
Business objects activities web intelligence
Business objects activities web intelligenceBusiness objects activities web intelligence
Business objects activities web intelligenceDmitry Anoshin
 
Birt Report
Birt ReportBirt Report
Birt ReportVan Huong
 
Week 6 iLab Assignments DueThe purpose of this iLab is to crea.docx
Week 6 iLab Assignments DueThe purpose of this iLab is to crea.docxWeek 6 iLab Assignments DueThe purpose of this iLab is to crea.docx
Week 6 iLab Assignments DueThe purpose of this iLab is to crea.docxcockekeshia
 
Visualizations that make an impact - see what s new in minitab statistical s...
Visualizations that make an impact  - see what s new in minitab statistical s...Visualizations that make an impact  - see what s new in minitab statistical s...
Visualizations that make an impact - see what s new in minitab statistical s...Minitab, LLC
 
Measurement Studio by Mr. Ashish chandiok
Measurement Studio by Mr. Ashish chandiokMeasurement Studio by Mr. Ashish chandiok
Measurement Studio by Mr. Ashish chandiokmayank agarwal
 

Ă„hnlich wie Vb net xp_08 (20)

05 gui 07
05 gui 0705 gui 07
05 gui 07
 
Vb net xp_15
Vb net xp_15Vb net xp_15
Vb net xp_15
 
Crystal report
Crystal reportCrystal report
Crystal report
 
Rdlc (1)
Rdlc (1)Rdlc (1)
Rdlc (1)
 
Vb net xp_06
Vb net xp_06Vb net xp_06
Vb net xp_06
 
ONLINE NOTICE AND REPORT GENERATOR PLATFORM
ONLINE NOTICE AND REPORT GENERATOR PLATFORMONLINE NOTICE AND REPORT GENERATOR PLATFORM
ONLINE NOTICE AND REPORT GENERATOR PLATFORM
 
crystalReport.pptx
crystalReport.pptxcrystalReport.pptx
crystalReport.pptx
 
Ssrs tutorial
Ssrs tutorialSsrs tutorial
Ssrs tutorial
 
crystal report
crystal reportcrystal report
crystal report
 
MS .Net - An IntelliSense Way of Web Development
MS .Net - An IntelliSense Way of Web DevelopmentMS .Net - An IntelliSense Way of Web Development
MS .Net - An IntelliSense Way of Web Development
 
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web Development
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web DevelopmentWebinar: Microsoft .NET Framework : An IntelliSense Way of Web Development
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web Development
 
Tackling Billing Challenges in Relativity Webinar Presentation
Tackling Billing Challenges in Relativity Webinar PresentationTackling Billing Challenges in Relativity Webinar Presentation
Tackling Billing Challenges in Relativity Webinar Presentation
 
Vb net xp_09
Vb net xp_09Vb net xp_09
Vb net xp_09
 
Our Journey Implementing Business Intelligence
Our Journey Implementing Business IntelligenceOur Journey Implementing Business Intelligence
Our Journey Implementing Business Intelligence
 
Fr net programmermanual-en
Fr net programmermanual-enFr net programmermanual-en
Fr net programmermanual-en
 
Business objects activities web intelligence
Business objects activities web intelligenceBusiness objects activities web intelligence
Business objects activities web intelligence
 
Birt Report
Birt ReportBirt Report
Birt Report
 
Week 6 iLab Assignments DueThe purpose of this iLab is to crea.docx
Week 6 iLab Assignments DueThe purpose of this iLab is to crea.docxWeek 6 iLab Assignments DueThe purpose of this iLab is to crea.docx
Week 6 iLab Assignments DueThe purpose of this iLab is to crea.docx
 
Visualizations that make an impact - see what s new in minitab statistical s...
Visualizations that make an impact  - see what s new in minitab statistical s...Visualizations that make an impact  - see what s new in minitab statistical s...
Visualizations that make an impact - see what s new in minitab statistical s...
 
Measurement Studio by Mr. Ashish chandiok
Measurement Studio by Mr. Ashish chandiokMeasurement Studio by Mr. Ashish chandiok
Measurement Studio by Mr. Ashish chandiok
 

Mehr von Niit Care

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 bNiit Care
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 bNiit Care
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 aNiit Care
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 cNiit Care
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 bNiit Care
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 aNiit Care
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 cNiit Care
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 bNiit Care
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 aNiit Care
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 cNiit Care
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 aNiit Care
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 cNiit Care
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-cNiit Care
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-bNiit Care
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-aNiit Care
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-cNiit Care
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-bNiit Care
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-aNiit Care
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 bNiit Care
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 cNiit Care
 

Mehr von Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

KĂĽrzlich hochgeladen

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĂşjo
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

KĂĽrzlich hochgeladen (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Vb net xp_08

  • 1. Creating Reports Objectives In this lesson, you will learn to: Identify the need for generating Crystal Reports Identify the Crystal Report Data Access models Create a Crystal Report for a Windows Form application Host a Crystal Report in a Windows application Enhance the Crystal Report presentation ©NIIT Creating Reports/Lesson 8/Slide 1 of 26
  • 2. Creating Reports Crystal Report Is the standard reporting tool for Visual Studio .NET used to display summarized data. Needs database drivers to connect with the data source for accessing data. Supports two methods to access data from a data source: The Pull model The Push model ©NIIT Creating Reports/Lesson 8/Slide 2 of 26
  • 3. Creating Reports Problem Statement 8.D.1 The Sales Manager of Diaz Telecommunications needs to view a report containing the order details and the summarized revenue for each month. The data should be presented in such a way that it can be analyzed easily. ©NIIT Creating Reports/Lesson 8/Slide 3 of 26
  • 4. Creating Reports Task List Identify the data that needs to be displayed in the Crystal Report and the format in which the data is to be displayed. Identify the method to create a Crystal Report. Identify the method to enhance the Crystal Report presentation. Identify the method to host Crystal Report in a Windows application. Create a Crystal Report for Windows application. Host the Crystal Report in the Windows application. View the Crystal Report. ©NIIT Creating Reports/Lesson 8/Slide 4 of 26
  • 5. Creating Reports Task 1: Identify the data that needs to be displayed in the Crystal Report and the format in which the data is to be displayed. Result: As per the given problem statement, the data to be displayed in the Crystal Report is as follows: Date Inv CustID ProdID Cost Advance ©NIIT Creating Reports/Lesson 8/Slide 5 of 26
  • 6. Creating Reports Task 2: Identify the method to create a Crystal Report. You can create a Crystal Report by using three methods: Manually Using Standard Report Expert From an existing report Result: You will create the Crystal Report by using the Standard Report Expert since it involves minimum steps. ©NIIT Creating Reports/Lesson 8/Slide 6 of 26
  • 7. Creating Reports Task 3: Identify the method to enhance the Crystal Report presentation. The presentation quality of a Crystal Report can be enhanced by adding the following components to the Crystal Report: Chart ® Allows easy analysis of the presented data. ® Is created to present summarized fields. Cross-Tab object ® Isa grid and is inserted in a Crystal Report when the data is to be displayed in form of compact rows, columns, and summary fields. ® Helps in comparing and identifying trends. ©NIIT Creating Reports/Lesson 8/Slide 7 of 26
  • 8. Creating Reports Task 3: Identify the method to enhance Crystal Report presentation. (Contd.) Result: Since the data is to be used for analysis purposes, you need to insert a chart in the Crystal Report. ©NIIT Creating Reports/Lesson 8/Slide 8 of 26
  • 9. Creating Reports Task 4: Identify the method to host the Crystal Report in a Windows application. A Crystal Report can be hosted in a Windows Form by using the Windows Forms Viewer. Windows Forms Viewer Is present as a control in the Toolbox. Can be inserted into a Windows application by dragging the CystalReportViewer control from the Toolbox into the form. Can interact with other controls on the Windows Form. Result: You will use the Windows Forms Viewer to deliver the Crystal Report in the Windows application. ©NIIT Creating Reports/Lesson 8/Slide 9 of 26
  • 10. Creating Reports Task 5: Create a Crystal Report for the Windows application. Task 6: Host the Crystal Report in the Windows application. Task 7: View the Crystal Report. ©NIIT Creating Reports/Lesson 8/Slide 10 of 26
  • 11. Creating Reports Problem Statement 8.D.2 The Sales Manager of Diaz Telecommunications needs to view a summarized report containing the order details for the products with sale price greater than $3000 to identify the potential market for the products in the coming period. In addition, the Sales Manager also needs to view the percentage of the sale price paid as advance for each order. ©NIIT Creating Reports/Lesson 8/Slide 11 of 26
  • 12. Creating Reports Task List Identify the data that needs to be displayed in the Crystal Report and the format in which the data is to be displayed. Identify the method to create a Crystal Report. Identify the method to host Crystal Report in a Windows application. Retrieve the filtered data from the database. Create a Crystal Report for Windows application. Host the Crystal Report in the Windows application. Write the code to connect to the database. View the Crystal Report from the Windows Forms Viewer. ©NIIT Creating Reports/Lesson 8/Slide 12 of 26
  • 13. Creating Reports Task 1: Identify the data that needs to be displayed in the Crystal Report and the format in which the data is to be displayed. Result: As per the given problem statement, the data to be displayed in the Crystal Report is as follows: ProdID Inv Date CustID ©NIIT Creating Reports/Lesson 8/Slide 13 of 26
  • 14. Creating Reports Task 1: Identify the data that needs to be displayed in the Crystal Report and the format in which the data is to be displayed. (Contd.) Cost Advance Percentage of the sale price paid as advance ©NIIT Creating Reports/Lesson 8/Slide 14 of 26
  • 15. Creating Reports Task 2: Identify the method to create a Crystal Report. Result: Since a calculated field of percentage needs to be displayed in the report, you will create the Crystal Report manually. Task 3: Identify the method to host the Crystal Report in a Windows application. Result: You will use the Windows Forms Viewer to host the Crystal Report in the Windows application. ©NIIT Creating Reports/Lesson 8/Slide 15 of 26
  • 16. Creating Reports Task 4: Retrieve the filtered data from the database. Task 5: Create a Crystal Report for the Windows application. Task 6: Host the Crystal Report in the Windows application. Task 7: Write the code to connect to the database. Task 8: View the Crystal Report from the Windows Forms Viewer. ©NIIT Creating Reports/Lesson 8/Slide 16 of 26
  • 17. Creating Reports Problem Statement 8.P.1 An HR Manager of Diaz Telecommunications needs to view a report containing the query handling details for each employee after 9th July 2001 (the date of creation of the HR policy). The data should be displayed in the form of compact rows and columns with an average customer feedback for each employee. ©NIIT Creating Reports/Lesson 8/Slide 17 of 26
  • 18. Creating Reports Problem Statement 8.D.3 The Sales Manager of Diaz Telecommunications needs to view a summarized product-wise order details report. The product name for each product also needs to be displayed in the report. ©NIIT Creating Reports/Lesson 8/Slide 18 of 26
  • 19. Creating Reports Task List Identify the data that needs to be displayed in the Crystal Report. Identify the method to create a Crystal Report. Identify the method to host Crystal Report in a Windows application. Create a Crystal Report for the Windows application. Host the Crystal Report in the Windows application. View the Crystal Report from the Windows Forms Viewer. ©NIIT Creating Reports/Lesson 8/Slide 19 of 26
  • 20. Creating Reports Task 1: Identify the data that needs to be displayed in the Crystal Report. Result: As per the given problem statement, the data to be displayed in the Crystal Report is as follows: Prod ID Product Name Inv Date CustID Cost Advance ©NIIT Creating Reports/Lesson 8/Slide 20 of 26
  • 21. Creating Reports Task 2: Identify the method to create a Crystal Report. Result: You will create the Crystal Report by using the Standard Report Expert since it involves minimum steps. Task 3: Identify the method to host the Crystal Report in a Windows application. Result: You will use the Windows Forms Viewer to deliver the Crystal Report in the Windows application. ©NIIT Creating Reports/Lesson 8/Slide 21 of 26
  • 22. Creating Reports Task 4: Create a Crystal Report for the Windows application. Task 5: Host the Crystal Report in the Windows application. Task 6: View the Crystal Report from the Windows Forms Viewer. ©NIIT Creating Reports/Lesson 8/Slide 22 of 26
  • 23. Creating Reports Summary In this lesson, you learned that: Crystal Report is the standard reporting tool for Visual Studio .NET for displaying data of presentation quality. Crystal Reports use database drivers to connect with the data source for accessing data. Crystal Reports in Visual Basic .NET supports two methods to access data from a data source: The Pull model The Push model ©NIIT Creating Reports/Lesson 8/Slide 23 of 26
  • 24. Creating Reports Summary (Contd.) The presentation quality of a Crystal Report can be enhanced by adding the following components to the Crystal Report: Chart Cross-tab object A Crystal Report can be hosted in a Windows Form by using the Windows Forms Viewer. Apart from allowing an easy viewing of the Crystal Report in a Windows application, the Windows Forms Viewer also dynamically updates the Crystal Report that is hosted. ©NIIT Creating Reports/Lesson 8/Slide 24 of 26
  • 25. Creating Reports Summary (Contd.) The Windows Forms Viewer can be inserted into a Windows application by dragging the CystalReportViewer control from the Toolbox into the form. The Windows Forms Viewer contains the following components: Toolbar Group Tree Main Report Window An interaction can be created between the Windows Forms Viewer and other controls on the Windows Form by handling the events of the Windows Form controls and the Windows Forms Viewer. ©NIIT Creating Reports/Lesson 8/Slide 25 of 26
  • 26. Creating Reports Summary (Contd.) To display a Crystal Report, it has to be bound to a CrystalReportViewer control. A Crystal Report can be bound to a CrystalReportViewer control by setting the ReportSource property of the CrystalReportViewer control to the path of the Crystal Report file. ©NIIT Creating Reports/Lesson 8/Slide 26 of 26