Top Banner
Crystal Reports
41

Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Mar 13, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Crystal Reports

Page 2: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Agenda

• What is Crystal Reports?

• Creating a Data Source.

• Adding tables and/or views.

• Define links and link types.

• Grouping, Sums and Totals.

• Working surface.

• Formulas, parameters, special fields, etc.

• Publishing/Presenting the report results.

• Q&A Session.

Page 3: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

What is Crystal Reports?

• Crystal Reports is a businessintelligence application usedto design and generatereports from a wide rangeof data sources, with aminimum of written code.

• In other words it is apowerful GUI based, reportwriting tool.

Page 4: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• To create a Data Source inCrystal, an ODBC needs tobe created.

• System DSN vs. User DSN

• Click on the “Add…” button

Page 5: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• Since Imaginera usesMicrosoft SQL Server

scroll all the way down

and select SQL Server driver.

Page 6: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• Name – can type any name

Tip: Avoid “Amtech”.

• Server: can use IP address,server name, or use thedrop down box feature (ithas to be valid, up andrunning)

Page 7: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• Select authentication.

Page 8: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• Check “Change the defaultdatabase to:” and selectyour database from thedropdown list

Page 9: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• Summary screen and theopportunity to test theData Source …

Page 10: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• If everything is ok, youshould look at this screen.

Page 11: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

• System DSN and Sourcetype.

Page 12: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

Page 13: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

Page 14: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

Page 15: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

Page 16: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Creating a Data Source Connection

Page 17: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Adding Tables and/or Views

• Wizard or manual

• Create a report:

Annual Customer’s Sales By Sales Agent for the Last 3 Years. Along with the customer name, split values per each year on the same line. It should ask for SalesAgent name.

Page 18: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Adding Tables and/or Views

• Select the tables you need

Page 19: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

• Auto Links vsManual Links

Page 20: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

Page 21: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

Page 22: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

Page 23: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

• Inner join

• A left/right join

• Full outer join

Page 24: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

• Inner join will only return rows in which there is a match in both tables based on the join predicate (join field): CUSTOMER.CSCODE --> INVHIST_HDR.CSCODE

CUSTOMER.CSCODE --> INVHIST_HDR.CSCODE

Table A Table B Results

Inner Join

Page 25: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

• A left outer join retains all of the rows of the left table, regardless of whether there is a row that matches on the other table. The missing side will contain null

CUSTOMER.CSCODE --> INVHIST_HDR.CSCODE

Table A Table B Results

Left Outer Join

Page 26: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

• A right outer join retains all of the rows of the right table, regardless of whether there is a row that matches on the other table. The missing side will contain null

CUSTOMER.CSCODE --> INVHIST_HDR.CSCODE

Table A Table B Results

Right Outer Join

Page 27: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

• Full outer join produces the set of all records in Table A and Table B, with matching records from both sides where available. If there is no match, the missing side will contain null

CUSTOMER.CSCODE --> INVHIST_HDR.CSCODE

Table A Table B Results

Full Outer Join

Page 28: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Create Links and Link types

Page 29: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Groups, Sums and Totals

Page 30: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Groups, Sums and Totals

Page 31: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Groups, Sums and Totals

Page 32: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Groups, Sums and Totals

Page 33: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Crystal Reports - Work Area

Page 34: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Work Area - Design View

Page 35: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Formulas, parameters, special fields

Page 36: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Formulas, parameters, special fields.

Page 37: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Formulas, parameters, special fields.

Page 38: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Formulas, parameters, special fields.

Page 39: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Publishing/Presenting the report results

Page 40: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Publishing/Presenting the report results

Page 41: Crystal Reports - Amtech Users Group Forumamtweb.amtechsoftware.net/.../Crystal_Reports.pdf · 2015-03-03 · What is Crystal Reports? •Crystal Reports is a business intelligence

Q&A session

• Questions And … hopefully Answers