Crystal reports seminar


Published on

August 5, 2011 at STI College Caloocan

Published in: Technology
1 Comment
  • thanks mam for the presentation..
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Crystal reports seminar

  1. 1. Crystal Reports Seminar August 5, 2011 STI College Caloocan Doña Emilia AVR by: Ms. Ruvina G. Teope
  3. 3. About Crystal Reports <ul><li>Designed to work with your database to help you analyze and interpret important information. </li></ul><ul><li>Makes it easy to create simple reports. </li></ul><ul><li>It also has the comprehensive tools you need to produce complex or specialized reports. </li></ul>About Crystal Reports
  5. 5. Create any report you can imagine <ul><li>Crystal Reports is designed to produce the report you want from virtually any data source. </li></ul><ul><li>Built-in report experts guide you step by step through building reports and completing common reporting tasks. </li></ul>Crystal Reports Benefits
  6. 6. Create any report you can imagine <ul><li>Formulas, cross-tabs, subreports, and conditional formatting help make sense of data and uncover important relationships that might otherwise be hidden. </li></ul><ul><li>Geographic maps and graphs communicate information visually when words and numbers are simply not enough. </li></ul>Crystal Reports Benefits
  7. 7. Extend reporting to the Web <ul><li>Reports can be published in a variety of formats including: </li></ul><ul><ul><ul><li>Word </li></ul></ul></ul><ul><ul><ul><li>Excel </li></ul></ul></ul><ul><ul><ul><li>Email </li></ul></ul></ul><ul><ul><ul><li>Over the Web </li></ul></ul></ul><ul><li>Advanced Web reporting lets other members of your workgroup view and update shared reports inside their web browser. </li></ul>Crystal Reports Benefits
  8. 8. Incorporate reports into applications <ul><li>Application and web developers can save time and meet their users needs by integrating the report processing power of Crystal Reports into their database applications. </li></ul><ul><li>Support for most popular development languages makes it easy to add reporting to any application. </li></ul>Crystal Reports Benefits
  10. 10. 1. Prepare the Database <ul><li>Organize your Files </li></ul><ul><li>Set up a Data Source Name (DSN) </li></ul><ul><ul><li>Open the Run command </li></ul></ul><ul><ul><li>Type odbcad32 </li></ul></ul>
  11. 11. c. Click Add 1. Prepare the Database
  12. 12. d. Select the appropriate driver e. Click Finish 1. Prepare the Database
  13. 13. f. Type the Data Source Name g. Click Select 1. Prepare the Database
  14. 14. h. Locate the database i. Click the database j. Click OK 1. Prepare the Database
  15. 15. 2. Start the Program Go to Start > All Programs > Crystal Reports Tools > Crystal Reports
  16. 16. 3.Select the type of crystal report document
  17. 17. 4. Select the Report Expert
  18. 18. <ul><li>There are eight Report Experts: </li></ul><ul><li>Each Expert guides you through the creation of a report by providing a series of tabs. Many of the experts have tabs unique to a specific type of report. </li></ul>4. Select the Report Expert <ul><ul><li>Standard </li></ul></ul><ul><ul><li>Form Letter </li></ul></ul><ul><ul><li>Form </li></ul></ul><ul><ul><li>Cross-Tab </li></ul></ul><ul><ul><li>Subreport </li></ul></ul><ul><ul><li>Mail Label </li></ul></ul><ul><ul><li>Drill Down </li></ul></ul><ul><ul><li>OLAP </li></ul></ul>
  19. 19. The Standard Report Expert <ul><li>It is the most generic of the experts. </li></ul><ul><li>It provides eight tabs, many of which are common to the other Report Experts. </li></ul><ul><li>It guides you through choosing a data source and linking database tables. </li></ul>4. Select the Report Expert
  20. 20. The Standard Report Expert <ul><li>It helps you add fields and specify the grouping, summarization (totals), and sorting criterion you want to use. </li></ul><ul><li>It leads you through chart creation and record selection. </li></ul><ul><li>It has Style Tab that contains pre-defined layouts for you to apply to your report to give it more impact. </li></ul>4. Select the Report Expert
  21. 21. 5. Connect to the Database a. Click Database
  22. 22. b. Select ODBC 5. Connect to the Database c. Locate the DSN you created then select the table you want to use d. Click Add
  23. 23. 5. Connect to the Database
  24. 24. 6. Select the Report Fields a. Click the desired table and field b. Click Add or Add All c. Select a field d. Modify the Column Heading
  25. 25. 7. Group the Information (optional) a. Select a Field b. Click Add c. Select the Sort Order
  26. 26. 8. Add Summary Information (optional)
  27. 27. 9. Include a Chart (optional)
  28. 28. 10. Select a subset of information (optional)
  29. 29. 11. Add Style to the Report (optional) Input report title
  31. 31. <ul><li>Report Header </li></ul><ul><li>This section is generally used for the report title and other information you want to appear at the beginning of the report. </li></ul>
  32. 32. <ul><li>Page Header </li></ul><ul><li>This section is generally used for information that you want to appear at the top of each page. This can include such things as chapter names, the name of the document, and other similar information. This section can also be used to display field titles above the fields on a report. </li></ul>
  33. 33. <ul><li>Details </li></ul><ul><li>This section is used for the body of the report, and is printed once per record. </li></ul><ul><li>The bulk of the report data generally appears in this section. </li></ul>
  34. 34. <ul><li>Report Footer </li></ul><ul><li>This section is used for information you want to appear only once at the end of the report (such as grand totals) and for charts and cross-tabs that include data for the entire report. </li></ul>
  35. 35. <ul><li>Page Footer </li></ul><ul><li>This section usually contains the page number and any other information you want to appear on the bottom of each page. </li></ul>
  36. 36. <ul><li>If a group, summary, or subtotal is added to the report, the program creates two additional sections: </li></ul><ul><li>Group Header </li></ul><ul><li>This section typically holds the group name field, and can be used to display charts or cross-tabs that include data specific to the group. It is printed once at the beginning of a group. </li></ul>
  37. 37. <ul><li>Group Footer </li></ul><ul><li>This section generally holds the summary value, if any, and can be used to display charts or cross-tabs. It is printed once at the end of a group. </li></ul>
  39. 39. Incorporate Crystal Reports to VB6 <ul><li>Start VB6 </li></ul><ul><li>Go to Project > Components </li></ul><ul><li>Select the Crystal Report Control </li></ul><ul><li>Click Apply then OK </li></ul>
  40. 40. <ul><li>Click and drag crystal report on the form </li></ul>
  41. 41. Sample Codes to Run Crystal Report in VB <ul><li>CrystalReport1.Destination = crptToWindow </li></ul><ul><li>CrystalReport1.ReportFileName = App.Path & &quot;ReportsProducts.rpt&quot; </li></ul><ul><li>CrystalReport1.SQLQuery = “” </li></ul><ul><li>CrystalReport1.DiscardSavedData = True </li></ul><ul><li>CrystalReport1.WindowState = crptMaximized </li></ul><ul><li>CrystalReport1.PrintReport </li></ul>