• No results found

Crystal Report tips and Techniques

N/A
N/A
Protected

Academic year: 2021

Share "Crystal Report tips and Techniques"

Copied!
41
0
0

Loading.... (view fulltext now)

Full text

(1)

SUNGARD SUMMIT 2007 | sungardsummit.com 1

A Community of Learning

Crystal Report tips and

Techniques

Presented by: Instructor Jim Tule

March 20, 2007 Course ID 1391

(2)

2

Course ID 1391

Introduction

Crystal Reports tips and techniques used to enhance the reporting capabilities in your user community.

™ Learn how to set up more common Crystal Report options

to work with the Advance environment.

™ Learn how to create and use formula fields in reports. ™ Learn how to create and use Hyperlinks with in your

Crystal reports.

(3)

SUNGARD SUMMIT 2007 | sungardsummit.com 3

A Community of Learning

(4)

4

Course ID 1391

(5)

5

Course ID 1391

Crystal Reports Options Tab

• More common Reporting options

Use these options to handle null values to 0 (numeric) or blank (Character).

Never Set this when using reports

(6)

6

Course ID 1391

Crystal Database Options Tab

Increases report performance

Can Restrict what database information can be used in

(7)

7

Course ID 1391

Crystal Field Options Tab The Options menu

can help users

define defaults for different field

formats. As an example, you can customize defaults for number values or for Currency. Other options include adding borders and highlighting.

(8)

8

Course ID 1391

Crystal Font Options Tab Formatting fonts,

size and colors for different object in the report can be

completed using the Fonts section in the Options menu.

(9)

SUNGARD SUMMIT 2007 | sungardsummit.com 9

A Community of Learning

(10)

10

Course ID 1391

Crystal Report Formulas – Address Blocks

Creating and formatting address lines in reports.

(11)

11

Course ID 1391

Crystal Report Formulas – Address Blocks

• This checkbox

allows for any detail line with blank

information to be removed

from the report output.

(12)

12

Course ID 1391

Crystal Report Formulas – Address Blocks

• Create a formula to handle foreign or domestic address

lines. (Format used in this formula is Crystal formula.)

™ Please note that in Advance address tables the default is a blank ™ IF {ADDRESS.FOREIGN_CITYZIP} = " " THEN {ADDRESS.CITY} +

", " + {ADDRESS.STATE_CODE} + " " +{ADDRESS.ZIPCODE} +{ADDRESS.ZIP_SUFFIX} ELSE {ADDRESS.FOREIGN_CITYZIP}

(13)

13

Course ID 1391

Crystal Report Formulas – Address Blocks

• Commonly used in Mail Lists. So how can you do this

(14)

14

Course ID 1391

Crystal Report Formulas – Address Blocks

• Creating Profile Reports

™ a lot of Data to be captured on the page ™ formulas can be used to encapsulate data

(15)

15

Course ID 1391

Crystal Report Formulas – Address Blocks

(16)

16

Course ID 1391

Crystal Report Formulas – Address Blocks

(17)

17

Course ID 1391

Crystal Report Formulas – Address Blocks

• Formulas Provide custom field creation and data

(18)

18

Course ID 1391

Crystal Report Formulas – Address Blocks

• Functions Used:

™ CHRW(13) – Provides Carriage Returns

™ Right({Field}, N) – Provides Values to the Right N ™ Left({Field}, N) – Provides Values to the Left N ™ IF THEN ELSE – Provides Control Structure

• Other Helpful Functions

™ Trim(Str) – Removes leading and trailing spaces ™ Length(Str) – Returns the number of characters ™ ToNumber(Str) – Converts string to number

(19)

SUNGARD SUMMIT 2007 | sungardsummit.com 19

A Community of Learning

(20)

20

Course ID 1391

Crystal Report Hyperlinks

• Creating a Hyperlink to Email

(21)

21

Course ID 1391

Crystal Report Hyperlinks

• Hyperlink Tab Options

™ Link to static Email ™ Create a Formula Link

• Other Options

™ Link Websites ™ Link Files

(22)

22

Course ID 1391

Crystal Report Hyperlinks – Formula Example (email)

(23)

23

Course ID 1391

Crystal Report Hyperlinks – Formula examples (Font)

• Set font attributes

(24)

24

Course ID 1391

Crystal Report Hyperlinks – Formula examples (Font)

(25)

25

Course ID 1391

Crystal Report Hyperlinks – Formula examples (Font)

• Font underline use

(26)

26

Course ID 1391

Crystal Report Hyperlinks – AWA Hyperlinks

• Creating AWA Hyperlinks

• Can be placed in stored procedure • Can be created via formulas

• SQL syntax example:

SELECT 'reportlink.aspx?type=ENTITY&key1=‘ || e.id_number AS id

• Crystal syntax:

reportlink.aspx?type={keytype}&key1={keydata1}[&key2 ={keydata2}][&key3={keydata3}]

(27)

27

Course ID 1391

Crystal Report Hyperlinks – AWA Hyperlinks Adding a link using the formula editor

(28)

28

Course ID 1391

Crystal Report Hyperlinks – AWA Hyperlinks

• From Report!

(29)

29

Course ID 1391

Crystal Report Hyperlinks – AWA Hyperlinks

• To Entity Overview!

Use the Back button to get back to the report

(30)

30

Course ID 1391

Crystal Report Hyperlinks – AWA Hyperlinks

• Stored Procedure Hyperlinks

™ Useful with Giving Reports ™ SQL Output Example

(31)

31

Course ID 1391

Crystal Report Hyperlinks – AWA Hyperlinks

• Report Screen

Receipt # Link Code

(32)

32

Course ID 1391

Crystal Report Hyperlinks – AWA Hyperlinks

(33)

SUNGARD SUMMIT 2007 | sungardsummit.com 33

A Community of Learning

(34)

34

Course ID 1391

Creating Crystal Reports with Sub Reports

• Allows users to create additional reports within a main

report.

• Ability to present data from unrelated datasets • Allows multiple presentations per dataset

(35)

35

Course ID 1391

Creating Crystal Reports with Sub Reports

• Crystal Sub Report Design Mode

Sub Report Main Report

(36)

36

Course ID 1391

Creating Crystal Reports with Sub Reports

Sub report is a Graph/Chart Format Listing Giving Totals over a 5 year periodMain Report is a Detail Report listing Donors with giving larger than $500000 in the current year

(37)

37

Course ID 1391

Creating Crystal Reports with Sub Reports

• Ability to return a subset of data to the report section

(38)

38

Course ID 1391

Creating Crystal Reports with Sub Reports

(39)

39

Course ID 1391

Summary

• Crystal report Options sets standards for data and

reporting values.

• Formulas provide great flexibility and power by enabling

you to create derived fields not available in data

sources. Formulas also enable you to create advanced conditional formatting and use flexible selection

formulas in reports.

• Hyperlinks Bring additional reporting power to Crystal

Reporting, allowing linking to web pages, files and email.

• Sub Reports bring multiple datasets to a single report

(40)

40

Course ID 1391

(41)

41

Course ID 1391

Thank You!

Jim Tule

[email protected]

Please complete the online class evaluation form Course ID 1391

SunGard, the SunGard logo, Banner, Campus Pipeline, Luminis, PowerCAMPUS, Matrix, and Plus are trademarks or registered trademarks of SunGard Data Systems Inc. or its subsidiaries in the U.S. and other countries. Third-party names and marks referenced herein are trademarks or registered trademarks of their respective owners.

References

Related documents

Therefore, international historians should focus on identifying how perceptions of public opinion (whether accurate or otherwise) influenced foreign policy choices, which is by

The following is a summary of testing conducted under this project and those listed in 1.3 and verifies acceptability of the Models 2460 and 3660 flashlights for use in a Class

The overall adjusted SMR curve corresponds to that for a randomly selected PsA patient from the Toronto Clinic population who had no radiologic damage at first presentation to

In JasperReports Server, anything residing in the repository, such as an image, file, font, data source, Topic, Domain, report element, saved report, report output, dashboard, or

ABSTRACT Seed blends containing various ratios of transgenic Bt maize (Zea mays L.) expressing the mCry3A þ eCry3.1Ab proteins and non-Bt maize (near-isoline maize) were deployed

• From the Lync main window, click the Options button, click General, click Change Font, and then select a default font, font style, font size, and font color.. Then

Crystal Reports set decimal places in formula Step change step In Crystal Report Designer right posture on numeric column for example DocTotal In the Format Editor.. To endow

This error is most often caused by a failure to include the tblSysListViewPrint table and / or the applicable record selection formula in the Crystal report, as explained in