SAP Crystal Reports 2011, Win User's Guide

Browse online or download User's Guide for Software manuals SAP Crystal Reports 2011, Win. SAP Crystal Reports 2011, Win User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 718
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
SAP Crystal Reports 2011 User's Guide
SAP Crystal Reports 2011
2012-03-14
Page view 0
1 2 3 4 5 6 ... 717 718

Summary of Contents

Page 1 - ■ SAP Crystal Reports 2011

SAP Crystal Reports 2011 User's Guide SAP Crystal Reports 20112012-03-14

Page 2

Formatting charts...28212.3.6Using the u

Page 3

2.In the Name field of the Object Information dialog box, create a name for your object or image.Note:You cannot use these characters in your object&a

Page 4 - 2012-03-144

2.Click the Add to Repository button.You'll see that your custom function has been added to the Repository Custom Functions node.Tip:• You can al

Page 5 - 2012-03-145

Note:• To reconnect a report object that has been disconnected from its repository, re-add the object orupdate the repository copy. Objects that remai

Page 6 - 2012-03-146

You'll see your custom function has been added to the Report Custom Functions node of the FormulaWorkshop.Note:You can also add custom functions

Page 7 - 2012-03-147

You can modify repository objects by disconnecting them, changing them in a report, and adding themback to the repository. As well, you can rename obj

Page 8 - 2012-03-148

5.8.1 To set the update option1.On the File menu, click Options.The Options dialog box appears.2.Click the Reporting tab.3.Select the Update Connected

Page 9 - 2012-03-149

Tip:Another way to do this is to click the Repository Explorer option under the View menu.2.In the appropriate folder, select the object you want to r

Page 10 - Contents

Designing Optimized Web Reports6.1 OverviewWhether you distribute your enterprise reports over a local network, a corporate Intranet, or the Web,you c

Page 11 - 2012-03-1411

6.1.1 Key strategies for optimizing web reports• As your company grows, Crystal Reports and SAP BusinessObjects Business Intelligence platformcan grow

Page 12 - 2012-03-1412

database hits. (The Report Application Server provides on-demand reporting, so every viewingrequest results in a separate query on your database.)• Ve

Page 13 - 2012-03-1413

Working with static OLE objects...30614.5Inserting a static OLE

Page 14 - 2012-03-1414

• When a scheduled report is processed, all date and time formulas are evaluated by the Job Serverin order to generate the report instance. When you s

Page 15 - 2012-03-1415

The quickest way to help improve the performance of reports created in older versions of Crystal Reportsis to save them in the latest Crystal Reports

Page 16 - 2012-03-1416

Reports with saved data are useful for dealing with data that isn't continually updated. When usersnavigate through reports with saved data, and

Page 17 - 2012-03-1417

To facilitate navigation in this way, you first need to group the data and insert the summary fields youwant to include in your report. For detailed i

Page 18 - 2012-03-1418

For example, when designing a report that shows each employee's quarterly sales for each productand each product type, you might also want to tra

Page 19 - 2012-03-1419

6.3.4.3.1 For more information• For further general guidelines, see Database links vs. subreports in one-to-many situations.• For complete details, se

Page 20 - 2012-03-1420

Reports viewed using the DHTML viewer, the ActiveX viewer, or the Java viewer are processed usingthe Page Server. These viewers do not allow users to

Page 21 - 1.1 About Crystal Reports

For a complete description of how table indexing works, see Indexed tables.6.4.3 Improving table-linking choicesWhen you add multiple database tables

Page 22 - 1.2.2 Sample Reports

requests through thread-safe database drivers, the Report Engine can process all of the requestssimultaneously. As the result, you'll be able to

Page 23 - Quick Start

A stored procedure is a compiled SQL program, consisting of one or more SQL statements, whichresides and runs on your SQL server. Although stored proc

Page 24 - 2.2.2 Cross-Tab

Suppressing Cross-Tab data...33415.5.5Displaying summariz

Page 25 - 2.3 Quick start for new users

The SQL query generated will send all 2192 records to Crystal Reports, and then the record selectionformula will reduce this to 181. To see this, clic

Page 26 - 2.3.2 Creating the report

6.5.2.2 PC Databases• You can only push down record selection on indexed fields.• You can only push down AND clauses (not OR).6.5.2.3 SQL Databases• Y

Page 27 - 2012-03-1427

To open the Formula Workshop to modify record selection, click the Report menu, point to SelectionFormulas, and then select Record from the submenu.Co

Page 28 - 2.3.2.3 Inserting a field

Consideration 5When using multiple expressions that follow the above considerations, separate them with AND andOR operators—you can also use NOT. You

Page 29 - 2.3.2.4 Understanding fields

A new drop-down list appears.11.Click this second list and select {?SalesQuota}.Tip:Click the Show Formula button to view the new record selection for

Page 30 - 2.3.2.6 Selecting fields

6.5.5 Using SQL expressions where appropriateSQL expressions are like formulas, but they are written in Structured Query Language (SQL). They areusefu

Page 31 - 2.3.2.8 Reviewing your work

6.6.1 Performing grouping on serverIf you're reporting in real-time off live data over the Web, reduce the amount of data transferred fromthe dat

Page 32 - 2012-03-1432

Note:You'll see this number only if you have the Status Bar option selected on the View menu.2.On the Report menu, click Section Expert to access

Page 33 - 2012-03-1433

6.6.4 Using SQL Expressions for Case LogicIf your database supports Case Logic, and your report needs to summarize an If-Then-Else formulacalculation,

Page 34 - 2.3.2.12 Adding a title

Record Selection7.1 Selecting recordsWhen a field is selected to appear on a report, field values from every record in the active table(s) areprinted

Page 35 - 2.3.2.13 Formatting objects

Inserting a chart...36717.2.6Updating

Page 36 - 2.3.2.15 Saving the report

When you select records, you are basing your report only on those records that meet some conditionsthat you have set. You base those conditions on the

Page 37 - 2.3.3 Record Selection

report is limited to values within the range. You can set up all of these types of record selection requestswithout any previous knowledge of the form

Page 38 - 2012-03-1438

7.1.4 Using formulas7.1.4.1 To set up record selection using a formula1.On the Report menu, point to Selection Formulas and click Record.2.In the Reco

Page 39 - 2.3.3.2 Deleting a field

7.1.5.1 To view the Select Expert formula1.Right-click the field on which you want to view record selection.2.Click Select Expert.3.Click the Show For

Page 40 - 2012-03-1440

7.1.6 Saved data selection formulasSaved data selection formulas filter report data after the records have been stored in the report. Likerecord selec

Page 41 - 2.3.4.1 Grouping the report

Selects those records in which the value in the {file.FIELD} field does not begin with the character "C"(includes values like Bob's Bik

Page 42 - 2012-03-1442

Selects those records in which the year found in the {file.DATE} field falls between 1992 and 1996(1992 and 1996 not included).Year({file.DATE}) >=

Page 43 - 2.3.4.3 Sorting records

These templates can be used as they are (with your own data), or they can be combined to createcomplex formulas.7.3 Pushing down record selection to t

Page 44 - 2012-03-1444

1.Write down the record selection formula on paper. You will use this written copy to help youreconstruct the selection formula one step at a time.2.R

Page 45 - 2.3.5 Completing the report

Does the {customer.CONTACT LAST NAME} field show only text strings beginning with the letter"C"?• If it does, then this part of the selectio

Page 46 - 2012-03-1446

Viewing Report Alerts...41219.2.4Referring to R

Page 47 - 2012-03-1447

Another formula which performs much the same functions is the following:"BOB" in UpperCase({customer.CONTACT FIRST NAME})7.4.2.2 Unwanted sp

Page 48 - 2012-03-1448

Sorting, Grouping, and Totaling8.1 Sorting dataSorting means placing data in some kind of order to help you find and evaluate it.When you first insert

Page 49 - 2012-03-1449

8.1.1.2 Sort fieldA sort field is the field that determines the order in which data appears on your report. Almost any fieldcan be used as a sort fiel

Page 50 - 2012-03-1450

Sort OrderField Typechronological orderTime fieldsFalse values (0)True values (1)Boolean comparison fieldsnull valuesnon-null valuesNull valuesNote:If

Page 51 - Report Design Concepts

In multiple field sorts, the Report Designer first sorts the records based on the values in the first fieldselected, putting them in ascending or desc

Page 52 - 2012-03-1452

Tip:The order of the fields listed in the Sort fields box is the order by which data will be sorted.7.As you add each field to the Sort Fields list, s

Page 53 - 3.2.3 Finding the data

Note:Sort fields that begin with "Group" specify that the sort was done automatically when the data wasgrouped.2.Highlight the fields that y

Page 54 - 3.2.4 Manipulating the data

Note:Grouping hierarchy is not affected by "Sort Control".8.1.3.2 To remove a sort control1.Right-click the text object that contains the ex

Page 55 - 2012-03-1455

2.Select the field you want the data grouped by from the top drop-down list.3.Select the sort direction from the second drop-down list.Note:If you wan

Page 56 - 2012-03-1456

8.2.2 Creating custom groupsUsually data is sorted based on the values from a field in the report. Sometimes, however, you maynot want to group data b

Page 57 - 2012-03-1457

To incorporate the parameter into the record selection filter...46321.4.2To incorporate the parameter in

Page 58 - 2012-03-1458

7.Click the <New> tab to add more selection criteria to your specified group, if necessary.8.Click OK.9.Click New to create more custom groups a

Page 59 - Introduction to Reporting

7.Select Use a Formula as Group Sort Order, and click the Conditional Formula button next toit.Note:This option is not available if you choose "i

Page 60 - 4.2.1.1 Data tab

Note:Sort fields that begin with "Group" specify that the sort was done automatically when the data wasgrouped.2.Highlight the field you wan

Page 61 - 2012-03-1461

8.2.5.1 Using the Select ExpertThe Select Expert can be used to select groups of records in the same way that you select individualrecords.When you ar

Page 62 - 4.2.2.1 Tree View

3.To base the group selection on more than one field, click the New tab and choose the next fieldfrom the Choose Field dialog box.Note:If you have not

Page 63 - 2012-03-1463

8.2.5.3 Troubleshooting group selection formulasIn some cases, no values will print when using a group selection formula, even though there are values

Page 64 - 4.3.1 Design tab

8.Instead of using the formula name (in this case @Percent) in the group selection formula, enter theformula itself (the formula named @Percent). Thus

Page 65 - 4.3.1.1 Design tab areas

5.Click the New button.The Define Named Group dialog box appears.6.Type "Less than $10,000" in the Group Name field.This is the name that wi

Page 66 - 2012-03-1466

• Specify a range of values:• Type "10000" in the top field.• Type "25000" in the bottom field.11.Click OK to return to the Specif

Page 67 - 2012-03-1467

{customer.POSTAL CODE}{customer.COUNTRY}Note:Xtreme.mdb is located on the SAP Business Objects Support web site.2.On the View menu, click Field Explor

Page 68 - 4.3.2.1 Standard view

How subreport linking works...49122.1.2Inserting subrepor

Page 69 - 4.3.2.2 Preview Panel

Characteristics of the data needed for hierarchical groupingYou can group data in a report to show hierarchical relationships. When you group data hie

Page 70 - 4.3.2.2.2 The Parameter Panel

Supervisor (parent)Employee (child)GillianFrancesGillianRuthMinaMargaretMargaretPaulMargaretCharlesThe Employee and Supervisor fields contain overlapp

Page 71 - 4.3.2.2.3 Find tab

8.2.8.1 To group data hierarchically1.Create or open a report that contains the data you want to group and sort hierarchically.2.On the Insert menu, c

Page 72 - 4.3.3 HTML Preview tab

7.On the Report menu, click Hierarchical Grouping Options.8.In the Available Groups list of the Hierarchical Options dialog box, select the group you

Page 73 - 4.4 Creating a new report

The value that you enter in the Group Indent field affects all other objects that are in the same areaas your hierarchical group. For example, if your

Page 74 - 4.4.2.1 To add a table

Note:The level at which a name appears in the hierarchy of this report is determined by the number ofemployees who report to him or her. Those employe

Page 75 - 4.4.3 Linking multiple tables

3.Click Options.4.In the Change Group Options dialog box, edit the group as necessary.5.Click OK to close the Change Group Options dialog box and agai

Page 76 - 4.4.4.1 Database fields

The Insert Summary dialog box appears.2.Select the desired field to summarize from the Choose the field to summarize list.3.Select a summary operation

Page 77 - 4.4.4.3 SQL Expression fields

2.Click the tab for the group you want to sort.3.Select the All option from the drop-down list on the left.4.Choose the summary that you want to base

Page 78 - 4.4.4.5 Running total fields

With top N groups, you are instructing the program to display those groups that have the highestsummary values (Top N).•• With bottom N groups, you ar

Page 79 - 4.4.4.7 Text objects

The Database Expert Links tab...52923.5.7Linking indexed tab

Page 80 - 4.4.4.8 Picture fields

• Order 1 = 100• Order 2 = 90• Order 3 = 80• Order 4 = 80If you set your top N to be three, but you do not select "Include ties," your repor

Page 81 - 4.4.4.9 Hyperlink fields

5.On the Report menu, click Group Sort Expert.6.In the Group Sort Expert, select the type of group sort that you want.Choose any option except No Sort

Page 82 - 2012-03-1482

Note:Xtreme.mdb is located on the SAP Business Objects Support web site.2.Right-click the Last Year's Sales field, point to Insert and choose Sum

Page 83 - 4.4.6 Formatting data

The Formula Workshop appears with the Formula Editor active.5.Enter the following formula into the Formula text box:{Orders_Detail.Quantity} * {Orders

Page 84 - 4.4.7 Record selection

8.5.1 Calculating a percentageYou can calculate the percentage of one group within a broader grouping. For example, you can showthe percentage of sale

Page 85 - 4.4.10 Using the zoom feature

7.Click OK. The summary percentage field is added to your report.8.6 Group headers8.6.1 Creating group headersWhenever you create a group, a subtotal,

Page 86 - 2012-03-1486

8.6.1.1 Standard headersA standard header is a block of text that is used to identify each group in a rather generic kind of way."Customer,"

Page 87 - 2012-03-1487

Group name onlyThe easiest live header to create is one based on identifying the value of the group field.8.6.1.2.1 To create a live header by group n

Page 88 - 4.5.1 The Report Explorer

8.6.1.2.3 Live headers for groups based on a formulaWhen you create a group and use a formula field as a sort-and-group-by field, the program automati

Page 89 - 4.5.1.1 Toolbar

8.6.2 Suppressing group headersYou have the option to hide group headers in your report.8.6.2.1 To suppress group headers1.Right-click the group heade

Page 90 - 4.5.2.1 Toolbar

Linking tables in reports...63524.3.9Multi-value c

Page 91 - 4.5.3 The Dependency Checker

1.Right-click the gray Details section to the left of the report.2.Select Hide (Drill-Down OK).3.Click Refresh.When you place the cursor over a group

Page 92 - 4.5.3.1 Shortcut Menu

Running Totals9.1 Understanding running totalsRunning total fields are similar to summary fields but allow more control over how the total is calculat

Page 93 - 2012-03-1493

the Report Footer returns the desired value. The Running Total field is properly calculated in both cases,but it is displayed too soon in the first ca

Page 94 - 4.6 Beyond basic reports

The most basic form of a running total is a running total maintained throughout a list. In this tutorial,you will create this kind of report by settin

Page 95 - 5.1.1 Work flow

9.2.2 Creating running totals for a groupAnother common use for running totals is tallying items in a group. The running total starts with the firstit

Page 96 - 2012-03-1496

You return to the Field Explorer dialog box.11.Place the running total field in the Details section of your report, just to the right of the Orders.Or

Page 97 - 2012-03-1497

Tip:Another way to do this is to click the Record Sort Expert button on the Expert Tools toolbar.3.Sort the records based on the Customer.Customer Nam

Page 98 - 2012-03-1498

9.2.4 Creating running totals in a one-to-many linking relationshipA one-to-many linking relationship occurs in linked tables when a single record in

Page 99 - 2012-03-1499

10.In the Reset section of the dialog box, click On change of group and choose Group #1:Customer.Customer Name - A.11.Click OK to save the Running Tot

Page 100 - 2012-03-14100

5.Enter the following into the Formula box:WhilePrintingRecords;CurrencyVar Amount;Amount := Amount + {Orders.Order Amount};6.Click the Save and close

Page 101 - 5.5.4 Adding a command

Pre-pass 2...672B.1.4Pass 2...

Page 102 - 2012-03-14102

On your report, each row in the running total column displays the current record value added to theprevious values. The running total starts fresh wit

Page 103 - 2012-03-14103

Multiple Section Reports10.1 About sectionsCrystal Reports provides five design areas to use when building your report:• Report Header• Page Header• D

Page 104 - 2012-03-14104

Many of the procedures in this section show you how to work with sections in the Section Expert.Sections can also be inserted, deleted, and so on by r

Page 105 - 2012-03-14105

10.2.3 Moving a section1.Click Section Expert on the Expert Tools toolbar.The Section Expert appears with a list of all the sections in the report. Wh

Page 106 - 2012-03-14106

3.Highlight the top section.4.With Section (B) highlighted, click Merge and Section (C) will be merged with Section (B) to formone section.5.Rearrange

Page 107 - 6.1 Overview

10.3.2 Resizing a section1.Move the pointer over the bottom boundary of the section you want to resize.2.When the pointer becomes a Resizing cursor, d

Page 108 - 2012-03-14108

10.4 Using multiple sections in reportsCertain reporting tasks are performed most efficiently by creating multiple sections within an area.Once you un

Page 109 - 2012-03-14109

Note:Many report objects can use the Can Grow option and can, therefore, cause overprinting:• Text fields• Formula fields• Memo fields• BLOB fields• S

Page 110 - 2012-03-14110

10.4.3 Adding blank lines conditionallyUse multiple sections to print a blank line on your report under specific conditions. For example, youmay want

Page 111 - 6.3.2.2 Saved data

10.5.1 Working with text objectsYou will use many of the capabilities of text objects when creating form letters. A brief discussion oftext objects sh

Page 112 - 2012-03-14112

© 2011 SAP AG. All rights reserved.SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAPBusinessObjects Explorer, StreamWork, and other SAP produc

Page 113 - 2012-03-14113

2012-03-1420Contents

Page 114 - 2012-03-14114

The insertion point moves as you type, automatically staying to the right of the last character. It alsomoves when you insert a field, automatically s

Page 115 - 2012-03-14115

10.5.2.1 To create a form letterThe letter will consist of a date, an inside address, a salutation, a one paragraph letter body, and aclosing section.

Page 116 - 6.4.2 Using table indexes

6.Double-click inside the text object to place it in edit mode. It is now ready for you to begin your work.The insertion point appears at the extreme

Page 117 - 2012-03-14117

2.Drag in the Address 1 field and place it at the insertion point, and press Enter. The insertion pointmoves down to the line below.3.Drag in the City

Page 118 - 2012-03-14118

10.5.2.5 Creating the letter body1.Now type "Your company" (do not include the quotation marks) and type a comma followed by aspace.2.Drag t

Page 119 - 2012-03-14119

8.Click Print Preview on the Standard toolbar to preview the form letter.It should look similar to this:10.5.3 Printing conditional messages in form l

Page 120 - 6.5.2.1 General

10.5.3.1 To create a conditional message1.Use the Section Expert to insert a second Details section in the report. See Working withsections.2.Create t

Page 121 - 6.5.2.3 SQL Databases

Formatting11.1 Formatting conceptsThis section explains how to format a report. Formatting refers to changes you can make to the layoutand design of a

Page 122 - 2012-03-14122

11.2.1 Applying a templateWhen you create a new report in the Standard Report Creation Wizard, you can apply a template asan optional step. You can al

Page 123 - 2012-03-14123

Tip:Another way to do this is to click the Template Expert button on the Expert Tools toolbar.As was the case with the Template screen, you can choose

Page 124 - 2012-03-14124

Introduction to SAP Crystal Reports 20111.1 About Crystal ReportsSAP Crystal Reports 2011 (Crystal Reports) is designed to work with your database to

Page 125 - 2012-03-14125

11.2.3.1 To reapply the last template selected1.On the Report menu, click Template Expert.Tip:Another way to do this is to click the Template Expert b

Page 126 - 2012-03-14126

4.Specify the formatting for your Template Field Object as you require.For information about how to apply formatting, see Working with absolute format

Page 127 - 2012-03-14127

If an existing report is used as a template, these report objects will not be applied to the new report:• Detail charts• Subreports• OLAP grids• Cross

Page 128 - 2012-03-14128

ResultIf the target report has...If the Template has...Overwrite/ApplyAdvanced ChartAdvanced Chart• Using group & summary inreportChart retainedAd

Page 129 - Record Selection

11.3.1 Section characteristicsA report consists of several sections, including the Report Header, Page Header, Group Header, Details,Group Footer, Pag

Page 130 - 7.1.3 Using the Select Expert

The Xtreme.mdb file is located on the SAP Business Objects Support web site.2.Place {customer.CUSTOMER NAME} and {customer.LAST YEAR'S SALES} sid

Page 131 - 2012-03-14131

The picture now prints in both the first Group Header and the following few Details sections, next to(instead of above) the text in the body of the re

Page 132 - 7.1.4 Using formulas

11.3.4.1 To create a multiple-column report1.Open the report you want to format with multiple columns.2.On the Report menu, click Section Expert.Tip:A

Page 133 - 2012-03-14133

11.3.5.2 Suppress (No Drill-Down)The Suppress property also hides a section when you run the report. Unlike the Hide property, however,you cannot appl

Page 134 - 7.2 Using formula templates

Note:• This option does not work for text fields that contain embedded fields.• This option compares record values, not formatted field values. The pr

Page 135 - 2012-03-14135

as a reference for your basic reporting needs as well as an introduction to new concepts in reportcreation.1.2.1 Locate information quickly• Access on

Page 136 - 2012-03-14136

Note:This will only work if there are no other objects in the section.11.3.6.3 Suppress (Common tab)The Suppress property hides an object when you run

Page 137 - 2012-03-14137

When a text-based object is placed on a report, the object is represented by an object frame. The heightof the object frame is based on the height of

Page 138 - 2012-03-14138

11.3.7.2 Preventing breaks in non-spacing text inside an objectFor text strings that do not contain spaces, such as single words, the text string is b

Page 139 - 2012-03-14139

11.3.7.3.1 To suppress blank lines in embedded fields1.Open your report in the Design tab, and click the desired text object—that is, the text object

Page 140 - 2012-03-14140

Unlike single-line text-based objects, expanding the object frame of a multi-line text-based object toaccommodate growth is not a viable option. When

Page 141 - 8.1.1.1 Sorting data

The object is imported from the file into the text object on your report.11.3.10 Spacing between text-based objectsUse the grid and guidelines options

Page 142 - 8.1.1.2 Sort field

The Design and Preview tabs have an underlying grid structure that you can activate on the Layout tabin the Options dialog box.11.3.10.2.1 To select t

Page 143 - 8.1.1.3 Sort Direction

11.3.10.5 Inserting guidelinesAlthough you can and should insert manual guidelines whenever necessary, Crystal Reports willautomatically insert guidel

Page 144 - 8.1.2.1 To sort your data

To snap an object to a guideline, drag the report object onto the guideline until the object's edge sitsatop the guideline. Snapping enables you

Page 145 - 8.1.3 Sort controls

11.3.10.7 Positioning objects using guidelinesOnce you've snapped one or more objects to a guideline, you can move all the objects at once bymovi

Page 146 - 2012-03-14146

Quick Start2.1 Learning how to use Crystal ReportsYou can teach yourself how to use Crystal Reports by choosing from the methods available in thissect

Page 147 - 8.2.1.1 To group data

2.Snap one side of the object to that guideline.3.Create a second guideline to the right of the object.Note:The guideline should not be touching the o

Page 148 - 2012-03-14148

Note:• Only indentation values within the range of the field or object width are accepted.• When you select the "Right to Left" reading orde

Page 149 - 8.2.2 Creating custom groups

Note:You also have the option to click the Conditional Formatting button to enter a formula in theFormat Editor. In the Format Formula Workshop, you c

Page 150 - 2012-03-14150

11.3.13 Vertical placementOn the Common tab of the Format Editor, you can use the text rotation options to vertically align thefields and text-based o

Page 151 - 2012-03-14151

The value n is defined as the distance in number of points measured from the start of one characterto the start of the next. When you change the chara

Page 152 - 8.2.5 Group selection

11.3.16 Setting page size and page orientationYou can view and print your reports using either portrait or landscape orientation, and in a variety ofp

Page 153 - 2012-03-14153

11.3.17 Setting page marginsMargins are the write spaces on the left, right, top, and bottom of the page. Crystal Reports gives youthe option of setti

Page 154 - 2012-03-14154

11.3.19 Printer drivers11.3.19.1 Updating printer driversIn order to maintain performance, Crystal Reports queries the printer driver for each of the

Page 155 - 2012-03-14155

• Using a second printer driver that measures fonts narrower could result in the same block of textrequiring less than six full lines.• Using a third

Page 156 - 2012-03-14156

You can set formatting properties using the Format Editor for objects and the Section Expert for reportsections. In most cases, you can set one of two

Page 157 - 2012-03-14157

2.2 Report Creation WizardsThe tutorials in this section show you how to build a report from scratch. As a complement or analternative, however, you m

Page 158 - 2012-03-14158

11.5.2 Making a report, section, area, or object read-onlyYou can make a report, section, area, or object read-only so it can't be formatted. Whe

Page 159 - 2012-03-14159

Note:•You can also do this by clicking the Lock Format button on the Formatting toolbar.• When a report object is read-only, you can move it, copy it,

Page 160 - 2012-03-14160

2.In the Options dialog box, click the Fields tab.3.Click the button appropriate to the type of field you want to format (String, Number, Currency, Da

Page 161 - 2012-03-14161

11.5.4.2.2 To customize formats for Date, Time, and Date and Time fields1.On the File menu, click Options.2.In the Options dialog box, click the Field

Page 162 - 2012-03-14162

2.Use the pencil cursor to draw the line where desired.Note:You cannot draw diagonal lines.11.5.5.2 To edit lines on a report1.Right-click the line yo

Page 163 - 2012-03-14163

1.On the Insert Tools toolbar, click Insert Box.2.Use the pencil cursor to draw the box where desired.11.5.6.2 To edit boxes on a report1.Right-click

Page 164 - 2012-03-14164

EndStartBetween these sectionsIn the bottom section, or if thatsection is suppressed, at the topof the next visible section.In the top section, or if

Page 165 - 8.2.9 Editing groups

EndStartBetween these sectionsIn the first instance of the GF3section, or if that section is sup-pressed, at the top of the nextvisible GH/D/GF sectio

Page 166 - 8.3 Summarizing grouped data

When designing report formats in Crystal Reports, you can insert a variety of shapes such as circles,ellipses, and boxes with rounded corners, as part

Page 167 - 2012-03-14167

2.Right-click the object and select Format Graphic from the shortcut menu.3.In the Format Editor, click the Picture tab.4.To crop the object, specify

Page 168 - 2012-03-14168

2.2.3 Mailing LabelThe Mailing Labels Report Creation Wizard lets you create a report that is formatted to print on anysize mailing label. You can use

Page 169 - 2012-03-14169

11.5.10.2 To customize the accounting conventions for a report1.Right-click the currency field or number field you want to format to bring up the shor

Page 170 - 2012-03-14170

11.5.11.1 To repeat objects on horizontal pages1.Right-click the report object you want to repeat.2.On the shortcut menu, click Format Field, or the a

Page 171 - 8.4.1.1 To subtotal data

11.5.12 Using white space between rowsThe height of a section in relation to the objects within it affects the amount of white space that appearsbetwe

Page 172 - 2012-03-14172

11.5.12.2 Deleting white space by resizingTo delete unnecessary white space within a section, move the pointer over the lower section boundaryline. Th

Page 173 - 8.5 Percentages

4.Click OK to return to your report.The blank section will no longer be printed.11.5.12.3.2 To delete white space by clamping the Page Footer1.On the

Page 174 - 2012-03-14174

11.6.1 Conditional on or off propertiesA conditional on or off property tests to see if a condition has been met. It is on if the condition is met,off

Page 175 - 8.6.1 Creating group headers

Note:Always include the Else keyword in conditional formulas; otherwise, values that don't meet the If conditionmay not retain their original for

Page 176 - 8.6.1.2 Live headers

3.Click the Font tab.4.To change any of the font options, click the appropriate Formula button, located on the right sideof the dialog box.5.In the Fo

Page 177 - 2012-03-14177

3.In the Formula Workshop, enter your conditional margin formula text.4.Click Save and close to return to your report.5.Click OK to apply your new set

Page 178 - 2012-03-14178

You may choose to print a page footer on all pages except the first page. You can do this by formattingthe Page Footer section conditionally, using an

Page 179 - 2012-03-14179

2.3.1 Before you beginThis tutorial assumes you are familiar with Microsoft Windows and uses conventional terms andprocedures common to the Windows en

Page 180 - 2012-03-14180

11.6.6 Using the Highlighting ExpertThe Highlighting Expert enables you to apply conditional formatting to all types of report fields (Number,Currency

Page 181 - Running Totals

The dialog box is divided into two areas: the Item list area displays the formula; the Item editor areaallows you to specify the formula. The Item edi

Page 182 - 9.2 Creating running totals

5.Complete the condition by entering the desired value in the box.Note:If the field selected in the "Value of" list is not numeric, the text

Page 183 - 2012-03-14183

11.6.7 Undo/Redo activitiesCrystal Reports includes multiple levels of undo. With multiple levels of undo, you can undo any numberof changes to an obj

Page 184 - 2012-03-14184

• The Format Painter does not copy formatting from text/template objects to database fields.• The Format Painter can use any object (including Reposit

Page 185 - 2012-03-14185

1.Select a source object or field in your report and click Format Painter.Tip:You can also select Format Painter from the shortcut menu.Note:• The For

Page 186 - 2012-03-14186

• To undo changing a field to a barcode, you must use the Undo command right after you use Changeto Barcode.If you perform any other actions after you

Page 187 - 2012-03-14187

1.Right-click the barcode field that you would like to reformat.2.From the shortcut menu, select Format Field.The Format Editor appears.3.Set your des

Page 188 - 2012-03-14188

2012-03-14268Formatting

Page 189 - 2012-03-14189

Charting12.1 Charting conceptsCrystal Reports enables you to include sophisticated, colorful charts in your reports. You can use chartsany time you wa

Page 190 - 2012-03-14190

2.Expand the Tables node of the Xtreme.mdb connection to see a list of tables.Because you are dealing only with customers in this tutorial, you will s

Page 191 - Multiple Section Reports

• OLAP data.You will typically chart on summary and subtotal information at the group level. However, dependingon the type of data you are working wit

Page 192 - 10.2.2 Deleting a section

12.1.3 Chart typesDifferent sets of data are particularly suited to a certain chart type. The following is an overview of themain chart types and thei

Page 193 - 10.2.3 Moving a section

3-D Surface3-D Surface charts present a topographic view of multiple sets of data. If, for example, you need a chartto show the number of sales by cus

Page 194 - 10.3.1 Splitting a section

FunnelFunnel charts are often used to represent stages in a sales process. For example, the amount ofpotential revenue shown for each stage. This type

Page 195 - 10.3.2 Resizing a section

12.2 Creating chartsWhen you insert a chart in a report, you may see one of the following options:• A chart object frame in the Report Header.Once you

Page 196 - 2012-03-14196

12.2.2 Charting on summary or subtotal fields (Group layout)Many of the charts you create are based on summary or subtotals within your report. In ord

Page 197 - 2012-03-14197

12.2.3 Charting on Cross-Tab summaries (Cross-Tab layout)Crystal Reports allows you to include a chart based on summary values in your Cross-Tab repor

Page 198 - 10.5 Form letters

12.Accept the default title information or add new titles to your chart.13.Click OK.Note:When your chart is inserted, it may cover a portion of the re

Page 199 - 10.5.1.2 Edit mode

9.If the Axes and Options tabs appear, you can customize some of the chart's properties, such asthe scaling of the axes, the legend, and the data

Page 200 - 2012-03-14200

Some of the editing options available in the Chart Expert are also available directly from the ChartOptions menu. This menu, which is available when y

Page 201 - 2012-03-14201

2.3.2.2 Report sectionsThe Design tab is divided into five sections: Report Header (RH), Page Header (PH), Details (D), ReportFooter (RF), and Page Fo

Page 202 - 10.5.2.2 Inserting a date

2.The Custom templates dialog box appears.The options on the Custom tab represent directory locations under \Program Files\SAPBusinessObjects\Crystal

Page 203 - 2012-03-14203

On the Preview tab, you can find commands for zooming bar charts and line charts within your report.You have the ability to zoom in and out on these c

Page 204 - 2012-03-14204

12.3.6 Formatting charts12.3.6.1 Changing the border of a chart1.On the Design or Preview tab, right-click the chart to bring up the shortcut menu.2.O

Page 205 - 2012-03-14205

12.3.6.3 Changing the chart's legend text1.On the Preview tab, click the text in your chart's legend to select it.Tip:Be sure to select the

Page 206 - 2012-03-14206

2012-03-14284Charting

Page 207 - Formatting

Mapping13.1 Mapping concepts13.1.1 Mapping overviewWith Crystal Reports, you can include geographic maps in reports. Maps help you analyze report data

Page 208 - 11.2.1 Applying a template

Note:In order to create a map using the Group layout, you must have at least one group and at least onesummary field for that group.Cross-TabUse the C

Page 209 - 2012-03-14209

• Equal countThis option assigns intervals in such a way that the same number of regions (or as close to the samenumber of regions as possible) appear

Page 210 - 2012-03-14210

representation of point data (e.g. Cities) than a Ranged map does, and it uses sized symbols ratherthan colors to distinguish variations in the values

Page 211 - 2012-03-14211

13.1.5 Drill-down with mapsNot only is mapping a means of presenting data—it is also an analysis tool. Move your cursor over asection of the map on th

Page 212 - 2012-03-14212

An object frame appears with the Arrow cursor as you drag the field onto the report:• The object frame represents the object you have just selected fo

Page 213 - 2012-03-14213

To map on a group, you can use the Group layout, in which you show a summary (such as Last Year'sSales) on change of a geographic field (such as

Page 214 - 2012-03-14214

With the Cross-Tab layout, you can map on a Cross-Tab summary field. For example, with a Cross-Tabthat shows the total number of items of a product so

Page 215 - 2012-03-14215

14.Click OK.Your map is placed in the Header or Footer section of the report, depending on your selection inStep 3.13.2.3 Mapping on an OLAP cube (OLA

Page 216 - 11.3.4 Multiple columns

11.In the Legend area, you can click one of the following options:• Full legend to show a detailed legend on your map.• Compact legend to show a conde

Page 217 - 11.3.5.1 Hide (Drill-Down OK)

13.3.2 Changing the map title1.On the Preview tab, right-click the map to bring up the shortcut menu.2.On the shortcut menu, choose Title.3.In the Cha

Page 218 - 11.3.6 Hiding report objects

In Crystal Reports, maps are made up of a number of layers. You can stack these layers on top of eachother to create a more detailed map. For example,

Page 219 - 2012-03-14219

Use this dialog box to set the default display mode and zoom range (the minimum and maximumpossible magnification) for the layer in question, then cli

Page 220 - 2012-03-14220

13.3.6.1 To change the geographic map1.On the Preview tab, right-click the map to bring up the shortcut menu.2.On the shortcut menu, click Resolve Mis

Page 221 - 2012-03-14221

13.3.8 Panning a map1.On the Preview tab, right-click a map to bring up the shortcut menu.2.On the shortcut menu, click Pan.3.Drag the panning cursor

Page 222 - 2012-03-14222

You have the option of hiding or showing the Map Navigator.13.3.10.1 To hide the Map Navigator1.On the Preview tab, right-click the map to bring up th

Page 223 - 2012-03-14223

ContentsIntroduction to SAP Crystal Reports 2011...21Chapter 1 About Crystal

Page 224 - 2012-03-14224

• The font and style (Bold, Underline, and so on) used in displaying the characters or Xs indicate thefont and style selected for the characters in th

Page 225 - 11.3.10.2 Selecting the grid

13.3.11 Formatting Maps13.3.11.1 Changing the border of a map1.On the Design or Preview tab, right-click the map to bring up the shortcut menu.2.On th

Page 226 - 11.3.10.4 Viewing guidelines

OLE14.1 OLE overviewObject Linking and Embedding (OLE) enables you to insert objects (OLE objects) into a report fromother applications (OLE server ap

Page 227 - 2012-03-14227

• OLE Container ApplicationAn OLE container application is one that can contain and process OLE objects created in otherapplications (such as Paint or

Page 228 - 2012-03-14228

• When you double-click an embedded OLE object, the object is activated for editing and the ReportDesigner merges its menus and toolbars with those of

Page 229 - 2012-03-14229

8.Double-click the spreadsheet object.The menus and toolbars change to a combination of those from the OLE server application andCrystal Reports. You

Page 230 - 11.3.10.9 Indenting lines

14.4.2 Dynamic OLE menu commandsWhen you have an OLE object selected, there is a submenu on the Edit menu that provides commandsfor the object. The na

Page 231 - 2012-03-14231

Static objects cannot be edited. To edit a static object, it has to be converted into an editable type ofobject using the Convert command on the Edit

Page 232 - 2012-03-14232

14.5.2 Making a static OLE object dynamicA dynamic static OLE object is a picture that you access in Crystal Reports by use of a file path or URL.Typi

Page 233 - 11.3.13 Vertical placement

6.Click Refresh to update the reference link to your static OLE object.14.5.3 Converting a static OLE object to a bitmap image object1.Right-click the

Page 234 - 2012-03-14234

14.6.1.1 To insert an embedded OLE object1.Click the Design tab.2.On the Insert menu, click OLE Object.The Insert Object dialog box appears.3.Select C

Page 235 - 2012-03-14235

2.3.2.7 Resizing fieldsTo resize the field, follow these steps:1.Click the Customer Name field in the Details section to select it.2.Press the Ctrl ke

Page 236 - 11.3.18 TrueType fonts

When you have a linked object and you break the link using the Links dialog box, all connections to theoriginal data in the server document are broken

Page 237 - 11.3.19 Printer drivers

When you embed the object, you can bind it to the report, but you may be able to bind to only a singlevariable. You can bind to multiple values in a c

Page 238 - 11.4 Formatting properties

1.Select the page with the SWF object that you want to print.2.Adjust the SWF to your desired settings.3.From the "File" menu, select Print.

Page 239 - 2012-03-14239

14.7.3 Using data binding to bind an Xcelsius SWF object to a reportData can be sent from a report to an SWF, but not from an SWF to a report. The par

Page 240 - 2012-03-14240

14.7.3.3 To bind data to a single value1.Right-click the SWF object and select Flash Data Expert.The Flash Data Binding Expert appears.2.For each vari

Page 241 - 2012-03-14241

Cross-Tab Objects15.1 What is a Cross-Tab object?A Cross-Tab object is a grid that returns values based on the criteria you specify. Data is presented

Page 242 - 2012-03-14242

• At the end of each row is a total for that row. In the example above, this total represents a singleproduct sold in all countries. At the end of the

Page 243 - 2012-03-14243

This report presents details. Each row represents an individual order. There are many orders from eachof the regions for different locks. But because

Page 244 - 2012-03-14244

Each region group contains orders for different kinds of locks.15.2.3 Report of order data - grouped by productThis report groups the data by product.

Page 245 - 2012-03-14245

Each product group contains orders for many regions.15.2.4 Report of order data - grouped by region and productThis report is the logical next step. I

Page 246 - 2012-03-14246

2.When you are finished reviewing the report, return to the Design tab by clicking it.2.3.2.9 Displaying field namesField pictures (object frames cont

Page 247 - 2012-03-14247

Each group contains orders for one product for one region. But the data is all spread out and remainsdifficult to analyze. This information is useful,

Page 248 - 2012-03-14248

In this Cross-Tab:• Product names make up the row headings.• Regions make up the column headings.• The value at each row/column intersection is the su

Page 249 - 2012-03-14249

• You can use Running Total fields as your summarized field.• You can include a group sort (top or bottom N) on the rows in your Cross-Tab.Note:Group

Page 250 - 2012-03-14250

Once you have clicked to release the field, it appears to the right of the column that you selected.7.In the Field Explorer, select Country and drag i

Page 251 - 2012-03-14251

Tip:Use the Ctrl-click combination to pick a non-continuous range of fields and the Shift-click combinationto pick a continuous list of fields.This ex

Page 252 - 2012-03-14252

15.3.6 Selecting recordsUse this screen to apply selection conditions. This limits the results that are returned in your report toonly those records t

Page 253 - 2012-03-14253

4.Select the summary operation you want to perform on Order Amount from the list beneath theSummary Fields area.5.Click Next.The Chart screen appears.

Page 254 - 2012-03-14254

Tip:Another way to do this is to click the Insert Cross-Tab button on the Insert Tools toolbar.An object frame appears with the Arrow cursor as you dr

Page 255 - 2012-03-14255

• Click OK to close the Define Named Group dialog box.• Click OK to close the Cross-Tab Group Options dialog box.15.3.9.3 Choosing a predefined style1

Page 256 - 2012-03-14256

15.4 Working with Cross-TabsThis section describes ways you can work with a Cross-Tab once you've added it to your report.15.4.1 Showing values a

Page 257 - 2012-03-14257

5.Double-click inside the text object to select it for editing. Notice the insertion point is now flashingwithin the text object.6.Select the Contact

Page 258 - 2012-03-14258

2.Right-click the summarized field you want to abbreviate and choose Format Field from the shortcutmenu.The Format Editor appears.3.On the Common tab,

Page 259 - 2012-03-14259

For more information about how to do this, see Working with conditional formatting.4.Click Check to identify any errors in the formula.5.Fix any synta

Page 260 - 2012-03-14260

15.4.4.2 To total across rows1.Repeat steps 1 to 3 of the previous procedure.2.Click Record Sort Expert and sort your Cross-Tab by the field you desig

Page 261 - 2012-03-14261

15.5 Formatting Cross-TabsCrystal Reports has powerful formatting capabilities that can be applied to Cross-Tabs. The followingsections describe some

Page 262 - 2012-03-14262

15.5.3 Formatting fields individually1.Right-click the field you want to format and choose Format Field from the shortcut menu.The Format Editor appea

Page 263 - 11.7 Using the Format Painter

1.Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcutmenu.The Cross-Tab Expert appears.2.Click the Cust

Page 264 - 2012-03-14264

15.5.6 Displaying summarized fields horizontallyIf you have two or more summarized fields in your Cross-Tab, you can display their values horizontally

Page 265 - 11.8.1 Adding a barcode

Related Topics• Calculation Formulas• Header Formulas• Insertion Formulas• Value Formulas15.6.1.1 To add a Calculated Member to your Cross-Tab1.In you

Page 266 - 11.8.1.1 To add a barcode

1.Right-click the top-left corner of your Cross-Tab.2.On the shortcut menu, point to Advanced Calculations, and click Calculated Member.The Cross-Tab

Page 267 - 11.8.3 Removing a barcode

15.6.1.5.1 To edit a Header Formula1.Right-click the header of the Calculated Member you would like to edit.2.On the shortcut menu, point to Calculate

Page 268 - 2012-03-14268

2.Enter information about your report in the text boxes provided. Be sure to enter the title "CustomerList" in the Title text box. This info

Page 269 - Charting

Insertion formulas determine where a Calculated Member appears in a Cross-Tab. In most cases,a Calculated Member appears only once. However, you can s

Page 270 - 12.1.2 Chart layouts

15.6.2.2 To change the processing order of Embedded SummariesIf you have multiple Embedded Summaries in your Cross-Tab, the order in which they are ca

Page 271 - 12.1.3 Chart types

2012-03-14342Cross-Tab Objects

Page 272 - 2012-03-14272

Building Queries16.1 Connecting to a universeYou access the Business Objects Query Panel in Crystal Reports through the Database Expert. Onceyou have

Page 273 - 12.1.5 Drill-down with charts

16.2 Defining the data selection for a queryYou build queries in the Query Panel by using objects in a Business Objects universe. The objects inthe un

Page 274 - 12.2 Creating charts

Add filters to the Query Filters pane to restrict the data your query returns based on the object thatyou selected. Filtering limits the data that a u

Page 275 - 2012-03-14275

Note:• Object properties are defined in the BusinessObjects Designer, but are not taken into account bythe Query Panel in Crystal Reports.• Objects ca

Page 276 - 2012-03-14276

You can return to the Query Panel to change an existing query, provided you have been granted thecustom right, Create / Edit Query. You can add or rem

Page 277 - 2012-03-14277

16.4.2 To view the SQL after you have created a query• In Crystal Reports, open a report created with a universe as a data source, go to the Databasem

Page 278 - 12.3 Working with charts

1.Double-click the objects you want to use in your report, or drag them to the Results Objects pane.For step-by-step instructions on selecting objects

Page 279 - 2012-03-14279

2.3.2.13 Formatting objectsNow you can format the report title. This time, however, you will remain in the Preview tab to do thework. This will make i

Page 280 - 2012-03-14280

16.5.2.1 To create a prompt1.Select the object you want to apply a prompt on and drag it to the Query Filters pane.For example, if you want to allow u

Page 281 - 12.3.5 Auto-arranging charts

For step-by-step information on how to create filters and prompts, see Creating query filters orBuilding prompts.By default, the Query Panel combines

Page 282 - 12.3.6 Formatting charts

The following table will help you select the operator you need to define a query filter.Filter createdSelectExampleValues to retrieve<Country> E

Page 283 - 2012-03-14283

Filter createdSelectExampleValues to retrieve<Country> Not in list'US; Japan; UK'Not in listDon't retrieve data forthe following

Page 284 - 2012-03-14284

16.5.6 Editing and removing query filtersYou can edit and remove filters on queries.16.5.6.1 To edit a query filter1.Double-click the filter you want

Page 285 - 13.1.2 Map layouts

16.6.1 What is a subquery?A subquery is a more flexible kind of query filter that allows you to restrict values in more sophisticatedways than with an

Page 286 - 13.1.3 Map types

Note:For more information on query filter operators and values, see Query filters and prompts.5.Click Add a subquery to add an additional subquery to

Page 287 - 2012-03-14287

DescriptionParameterThe operator that specifies the relationship be-tween the Filter object and the Filter By object.Because of database restrictions

Page 288 - 13.1.4 Where to place a map

A database ranking allows you to specify a ranking at the query and database level so that the datareturned to Crystal Reports by the query is already

Page 289 - 13.2 Creating maps

Note:You can specify a prompt instead of a constant by clicking the arrow next to the number. When youselect a prompt, the user must enter the ranking

Page 290 - 13.2.1.1 To map on a group

2.3.2.14 Adding a field headingAs you can see, the Contact Name field is the only field without a heading. In this section you will createa heading.2.

Page 291 - 2012-03-14291

DescriptionParameterThe object that specifies additional calculationcontext for the ranking. For example, if the rankingobject is Region, the measure

Page 292 - 2012-03-14292

Creating and Updating OLAP Reports17.1 OLAP reporting with Crystal ReportsAlthough relational databases such as SQL servers and PC databases are the m

Page 293 - 13.3 Working with maps

OLAP grid objects provide true multi-dimensional reporting. Add dimensions to either axis to analyzethree, four, or more dimensions in a single OLAP g

Page 294 - 13.3.4 Changing map layers

The OLAP Connection Browser appears.2.Browse your OLAP server for the cube you want to connect to.If your server isn't in the list, click Add. In

Page 295 - 13.3.4.1 To change map layers

4.Click the Up and Down arrow buttons associated with the Rows and Columns areas to arrange theorder of the dimensions.Note:If you accidentally add a

Page 296 - 2012-03-14296

Note:• Once you have created a parameter, access to the Member Selector dialog box is disabled forthe dimension until you delete the parameter.• If yo

Page 297 - 2012-03-14297

17.2.4.2 To add a page1.Use the > arrow to add dimension(s) to the Page list.The Member Selector dialog box appears.2.Expand the dimension's s

Page 298 - 13.3.9 Centering a map

Note:The color of the style you select may not appear correctly if your screen resolution is set to 256colors. Increase the resolution to correct this

Page 299 - 2012-03-14299

Note:Be sure that the chart type selected in Step 1 supports a secondary charting field.5.Click Other Dimensions to define field values for any dimens

Page 300 - 13.3.12 To underlay a map

4.Click Select.The OLAP Connection Browser appears.5.Browse your OLAP server for the cube you want to connect to.If your server isn't in the list

Page 301 - 14.1.1 OLE terminology

Congratulations! You have just created a basic listing report. You will continue to refine this reportthroughout the rest of this tutorial.2.3.3 Recor

Page 302 - 14.1.2 Types of OLE objects

To access the Highlighting Expert, right-click the field you want to format and, on the shortcut menu,click Highlighting Expert. For more details, see

Page 303 - 2012-03-14303

2.In the Group Options area, select the color from the Background Color list.3.Click OK if you have finished customizing your grid.17.4.2 Creating an

Page 304 - 14.4.1 In-place editing

1.On the Customize Style tab of the OLAP Expert, click Format Grid Lines.The Format Grid Lines dialog box appears.2.From the list, choose the descript

Page 305 - 2012-03-14305

The dimension expands to show its members, or collapses to hide them.Tip:You can also double-click parent dimensions to drill down into the hierarchic

Page 306 - 2012-03-14306

• Unique NameFor information about names and captions, search the online help for "Changing member captions."17.5.5 To alter the data displa

Page 307 - 2012-03-14307

shortcut menu. You can sort data in ascending or descending order, and you can specify whether ornot you want to break grid hierarchies.In the followi

Page 308 - 14.6.1 Embedded objects

17.6.1.1 To sort data in the OLAP grid1.Right-click the row or column member that you want to sort by.2.On the shortcut menu, point to Add First Sort.

Page 309 - 14.6.2 Linked objects

Tip:• To locate a filtered row or column, move the mouse pointer over the OLAP grid. When you reach afiltered row or column, the pointer turns into an

Page 310 - 2012-03-14310

2012-03-14378Creating and Updating OLAP Reports

Page 311 - 2012-03-14311

Printing, Exporting, and Viewing Reports18.1 Distributing reportsCrystal Reports enables you to distribute your report using a variety of methods.18.1

Page 312 - 2012-03-14312

The Choose Field dialog box appears.This dialog box lists all the fields currently in the report in the Report Fields section and then lists allfields

Page 313 - 2012-03-14313

18.1.2.1 To fax a report1.On the File menu, click Print.The Print dialog box appears.2.In the Print dialog box, click Find Printer.The Find Printers d

Page 314 - 2012-03-14314

Page-based formats tend to produce a more exact output. The emphasis of these formats is layoutrepresentation and formatting. Formatting refers to att

Page 315 - Cross-Tab Objects

To get the best output from Excel export formats, you should design your reports in an Excel-friendlyway. For more information, refer to the Technical

Page 316 - 15.2 Cross-Tab example

Record Style - Columns with spaces and Record Style - Columns without spacesThe record-style formats export report data as text. These formats export

Page 317 - 2012-03-14317

This format also provides an option for pagination. If you select this option, a page break is inserted inthe output after every specified number of l

Page 318 - 2012-03-14318

Tip:Another way to do this is to click the Export button on the Standard toolbar.The Export dialog box appears.3.Select the export format type from th

Page 319 - 2012-03-14319

3.Select the export format type from the Format drop-down list.In this case, choose Microsoft Excel (XLS).4.Select Disk file from the Destination drop

Page 320 - 2012-03-14320

For more information about this dialog box, see step 5 in Exporting to an application.6.Change the formatting options as needed.7.Click OK.The Choose

Page 321 - 2012-03-14321

The Send Mail dialog box appears.8.Enter the address details, then click Send.The Exporting Records dialog box appears.Tip:Click Cancel Exporting to c

Page 322 - 2012-03-14322

7.Click OK.The program exports the report to HTML format.18.1.3.8 Exporting to an ODBC data sourceCrystal Reports allows you to export reports to any

Page 323 - 2012-03-14323

All that you need to complete the sentence is the value USA.6.Click the arrow on the empty list. A list of all the country values appears. Select USA

Page 324 - 15.3.5 Adding a chart

4.If your ODBC data source specifies a particular database, the report will be exported to that database.Otherwise, the ODBC Formats dialog box appear

Page 325 - 15.3.6 Selecting records

The Save As dialog box appears.2.Click Web Folders.3.Locate the folder you would like to save the report to.4.Enter the file name.5.Click Save.Note:Af

Page 326 - 2012-03-14326

3.In the System field, enter or select the name of the SAP BusinessObjects Business Intelligenceplatform system that you want to connect to.4.Enter yo

Page 327 - 2012-03-14327

• Select the “Update Repository Objects” option to ensure that the report's repository objects areupdated when the report is opened in the future

Page 328 - 2012-03-14328

In general, the Crystal Report Viewers are page viewers that let you see complete pages of your Crystalreports. However, one viewer—the Report Part Vi

Page 329 - 15.4 Working with Cross-Tabs

Report Parts use this navigation functionality when linking between Report Part objects. The keydifference between Report Part navigation and regular

Page 330 - 2012-03-14330

• Report TitleThe Report Title field defaults to the title of the report specified in the Select From field (it containsthe text <Current Report>

Page 331 - 2012-03-14331

18.2.1.2.2 Report Part-specific navigationReport Parts use the Crystal Reports navigation functionality. However, some special cases apply onlyto Repo

Page 332 - 15.4.5.1 To repeat row labels

5.Click OK.18.2.1.3.2 To create a Report Part Drilldown hyperlinkNote:Before you begin this procedure, be sure to read Setting up navigation to acquai

Page 333 - 15.5 Formatting Cross-Tabs

Note:The Available Fields area does not show suppressed report objects.4.In the Available Fields area, select the section or report object(s) you want

Page 334 - 2012-03-14334

Determining printing area characteristics...553.2.5Developing a prototype

Page 335 - 2012-03-14335

2.3.3.3 Balancing field spacingNow that the Country field has been deleted, there is a large amount of white space between the Cityand Contact Name fi

Page 336 - 15.6.1 Calculated Members

Note:• When using a stand-alone Report Application Server environment, it is recommended that all reportsnavigated to and from using the Another Repor

Page 337 - 2012-03-14337

The program pastes the identifying information from the destination object you selected in the sourcereport into the appropriate fields.The Paste Link

Page 338 - 15.6.1.5 Header Formulas

Note:If you choose the Design View Report Part option (or if you choose the Context Report Part optionfor an object copied from a report's Design

Page 339 - 15.6.1.7 Insertion Formulas

Otherwise, the program uses the source report's Design view data context as the Context Report Partdata context in the target report.Scenario 2If

Page 340 - 15.6.2 Embedded Summaries

Note:You can also use a wildcard to identify all instances:/USA/*• For cross-tab objects, you can use navigation on cells, columns, or rows. To define

Page 341 - 2012-03-14341

Differences between how the viewers display hyperlinksReport Part ViewerPage viewersAnother Report Object:• Navigates to destination objects and shows

Page 342 - 2012-03-14342

5.Click Browse.The "Open" dialog box appears.6.Click My Connections to add a new connection to the Enterprise.If you already have a connecti

Page 343 - Building Queries

Note:The reports you want to use with smart tags must exist on the web server named in the Options dialogbox in a directory that mirrors their real lo

Page 344 - 2012-03-14344

2012-03-14408Printing, Exporting, and Viewing Reports

Page 345 - 2012-03-14345

Report Alerts19.1 About Report AlertsReport Alerts are custom messages created in Crystal Reports that appear when certain conditionsare met by data i

Page 346 - 2012-03-14346

The spacing between the fields is much better, but it looks as if the report title is off-center.4.Click the report title object to select it.5.Positi

Page 347 - Crystal Reports Online Help

19.2.1.1 To create a Report Alert1.On the Report menu, point to Alerts and then click Create or Modify Alerts.The Create Alerts dialog box appears.2.C

Page 348 - 16.5.1 Creating query filters

Alert formulas can be based on recurring records or on summary fields, but cannot be based onprint-time fields, such as running totals or print time f

Page 349 - 16.5.2 Building prompts

2.In the Create Alerts dialog box, select the alert you want to edit and click Edit.Tip:Double-clicking an alert also lets you edit it.3.Make the chan

Page 350 - 16.5.2.1 To create a prompt

2.Select the alert whose records you want to see.3.Click View Records.A new report tab is opened showing the report record(s) that triggered the alert

Page 351 - 2012-03-14351

2012-03-14414Report Alerts

Page 352 - 2012-03-14352

Using Formulas20.1 Formulas overviewIn many cases, the data needed for a report already exists in database table fields. For example, toprepare an ord

Page 353 - 2012-03-14353

Pulling out a portion, or portions, of a text stringTo extract the first letter of the customer name:Crystal syntax example:{Customer.Customer Name} [

Page 354 - 2012-03-14354

NumbersExample: 1, 2, 3.1416TextExample: "Quantity", ":", "your text"OperatorsExample: + (add), / (divide), -x (negate)O

Page 355 - 16.6.2.1 To build a subquery

20.2.2.1 Crystal and Basic syntaxWhen creating formulas, you have the option of using either Crystal or Basic syntax. Almost any formulawritten with o

Page 356 - 16.6.2.2 Subquery parameters

Note:Java UFLs are not supported in the Report Application Server (RAS) and the Crystal Page Server, soif a report has a formula in it, and that formu

Page 357 - 2012-03-14357

2.Select Region from the Customer table in the first drop-down list.The program takes all records with the same value in the region field and places t

Page 358 - 2012-03-14358

Note:If you already know Basic syntax, you need to know only a small amount of Crystal syntax to modifymost selection and search formulas.Running Tota

Page 359 - 16.6.4.2 Ranking parameters

The appropriate editor or dialog box appears.20.4.1.2 Workshop TreeThe Workshop Tree contains folders for each type of formula you can create in Cryst

Page 360 - 2012-03-14360

Shows or hides the Workshop Tree.Toggles display between Custom Function Editorand Custom Function Properties dialog box.Custom functions and formulas

Page 361 - 17.1.1 OLAP grid objects

The buttons for the Expressions Editor Toolbar of the Formula Workshop perform the following functions:Tests the syntax of the formula or custom funct

Page 362 - 17.2 Creating an OLAP report

Hides or views the Functions tree.Hides or views the Operators tree.Hides or views the result set of a global formulasearch.Allows you to select Cryst

Page 363 - 2012-03-14363

Description of contentsWindowFunctions are prebuilt procedures that return val-ues. They perform calculations such as average,sum, count, sin, trim, a

Page 364 - 2012-03-14364

The Report Fields, Functions, and Operators tree at the top of the Formula Editor contain the primaryformula components. Double-click any component fr

Page 365 - 17.2.4.1 To specify a slice

Action PerformedKeyboard CombinationComments out or removes comments from currentlineAlt+MSorts contents of trees.Alt+OOpens or closes the Shows Opera

Page 366 - 17.2.4.3 To add a parameter

Action PerformedKeyboard CombinationChanges focus to next control box (reverse orderof Ctrl-Tab).Ctrl+Shift+TabChanges focus to next control box.Ctrl+

Page 367 - 17.2.6 Inserting a chart

1.On the View menu, click Field Explorer.2.In the Field Explorer dialog box, select Formula Fields and click New.3.In the Formula Name dialog box, ent

Page 368 - 17.3 Updating an OLAP report

6.If the group tree is not visible, select Toggle Group Tree on the Standard toolbar to see thegroups included in the report.You can view the group of

Page 369 - 2012-03-14369

1.On the Report menu, click Formula Workshop.Tip:Another way to do this is to click the Formula Workshop button on the Expert Tools toolbar.2.Select F

Page 370 - 2012-03-14370

You can now use this formula in your report just as you would use a formula you created in the FormulaEditor.20.5.3 Editing formulas1.On the View menu

Page 371 - 17.4.3 Formatting grid lines

20.5.5 Copying formulas20.5.5.1 To copy an existing formulaCrystal Reports lets you copy an existing formula and then modify it to create a new formul

Page 372 - 17.4.4 Labeling dimensions

The Field Explorer dialog box appears.7.Select Formula Fields and click the New button.The Formula Name dialog box appears.8.Enter the name you want t

Page 373 - 2012-03-14373

• If the formula contains conditional elements, make certain that the conditions apply to the data inthe new report. For example, if the formula in yo

Page 374 - 2012-03-14374

1.Choose View from the main menu and select Field Explorer.The Field Explorer dialog box appears.2.Right-click the formula you want to delete and choo

Page 375 - 2012-03-14375

Insert this formula into the details section of the report and preview it. You'll get a division by zero errorand the formula editor will be invo

Page 376 - 17.6.2.1 To add a filter

2.Create a new formula called Formula1.3.Type the following in the Formula text box of the Formula Editor:If {customer.CUSTOMER NAME} [1 to 2 = "

Page 377 - 2012-03-14377

You should see "TRUE" next to all customer numbers that begin with 6 and "FALSE" next to all customernumbers that do not begin wit

Page 378 - 2012-03-14378

7.Click Print Preview on the Standard toolbar to see the values in the report and compare thefields to check if the field values returned by @Formula4

Page 379 - 18.1.2 Faxing a report

The Available Fields list box displays all fields currently on your report and all the fields in the datasource. You can choose to sort based on any o

Page 380 - 18.1.3.1 Export format types

20.8 Error Messages and Formula Compiler WarningsA ) is missing.Parentheses must be used in pairs; each opening parenthesis must be matched with a clo

Page 381 - 2012-03-14381

A subscript must be between 1 and the length of the string.You have entered a subscript number that specifies a character that does not exist. If you

Page 382 - 2012-03-14382

Cannot allocate memory.This message typically indicates that there is not enough memory available. Close any reports that arenot needed, and exit any

Page 383 - 2012-03-14383

File not found.The file name you specified cannot be found. Either the filename or the path is incorrect. Enter thecorrect filename/path and try again

Page 384 - 18.1.3.2 Destination

You cannot begin to utilize the program unless you have a default printer selected. Trying to start theprogram without a default printer results in th

Page 385 - 2012-03-14385

Report file already exists. Overwrite sample.rpt?You are attempting to save a report under the same name as an existing report. This will overwrite th

Page 386 - 2012-03-14386

The number of copies of the string is too large or not an integer.Using the ReplicateString function, you have requested too many copies or you are re

Page 387 - 2012-03-14387

The string is non-numeric.The argument to the ToNumber function must be a number stored as a string (for example, a customernumber, an ID number, and

Page 388 - 18.1.3.7 Exporting to HTML

This array must be subscripted. For example: Array [i].You have entered an array without enclosing it in brackets. Enclose the array in brackets and r

Page 389 - 2012-03-14389

This function cannot be used within a custom function.You have tried to use a function or formula that will not work in a custom function, that is it

Page 390 - 18.1.4.2 To save your report

2.3.5 Completing the reportYou have just one step left to complete the report. A company logo needs to be added to the first pageof the report.2.3.5.1

Page 391 - 2012-03-14391

• A date is required here.• A date range is required here.• A number array is required here.• A number array or currency array is required here.• A nu

Page 392 - 2012-03-14392

Parameter Fields and Prompts21.1 Parameter and prompt overviewParameters are Crystal Reports fields that you can use in a Crystal Reports formula. As

Page 393 - 18.2 Viewing reports

• Currency: Requires a dollar amount.Example: Display customers with sales over XXXXX.• Date: Requires an answer in a date format.Example: Enter the s

Page 394 - 18.2.1.1.1 Report Part Viewer

• Creating a parameter with a static prompt.• Creating a parameter with a dynamic prompt.• Creating a parameter with a cascading list of values.• Dyna

Page 395 - 2012-03-14395

21.1.4 Optional parametersCrystal Reports supports optional parameters. An optional parameter is a prompted value that doesnot have to be supplied by

Page 396 - 2012-03-14396

Note:In the table, and elsewhere in this section, the term managed report is used to describe reports thatare stored in a SAP BusinessObjects Business

Page 397 - 2012-03-14397

Available when Crystal re-ports are published to SAPBusinessObjects BusinessIntelligence platform?Available when Crystal re-ports are stored outside o

Page 398 - 2012-03-14398

Note:While the dynamic capability is not available with SAP BusinessObjects BI Interactive Analysis or withfull-client products, Crystal reports that

Page 399 - 2012-03-14399

• Unmanaged lists of values are stored within each report file.If you do not have SAP BusinessObjects Business Intelligence platform, or if you never

Page 400 - 2012-03-14400

Managed list of val-uesUnmanaged list of valuesFeatureBusiness ViewsCommand objectsReport fieldsYesBecause managedlists of values arebased on Business

Page 401 - 2012-03-14401

5.Save the report by clicking Save on the Standard toolbar.You have just completed your first report.2.4 Quick start for advanced usersIf you are an e

Page 402 - 2012-03-14402

Managed list of val-uesUnmanaged list of valuesDescriptionBusiness ViewsCommand objectsReport fieldsWell suited.You can define filteringwithin the sou

Page 403 - 18.2.1.6 Data context formats

Lists of values are the data part of a prompt; the values from your data that your users will see andselect from.Prompt groups, on the other hand, are

Page 404 - 2012-03-14404

This example uses String.Note:When creating a parameter whose Type is either Date or DateTime, you can change the date formatto suit your needs. For d

Page 405 - 2012-03-14405

Note:If you don't want to see the parameter field you dropped in your report, place it in a section you cansuppress, such as a report header or f

Page 406 - 18.3 Using smart tags

5.Click OK.The report appears with the information for Brazil.With parameter fields, you can create a single report that can be customized quickly to

Page 407 - 2012-03-14407

designer to author dynamic prompts. When Crystal Reports is used with Crystal Reports Server or theSAP BI platform Server, additional features are ava

Page 408 - 2012-03-14408

9.Click OK.10.Return to the Field Explorer dialog box, and drag the Region parameter into your report.Note:If you don't want to see the parameter

Page 409 - Report Alerts

and region that city comes from, you could create a dynamic and cascading prompt. In this case, youfirst prompt for a country, and when that value has

Page 410 - 2012-03-14410

The program automatically expands the Value list. You use this area to define the fields that makeup your cascading list of values. This example uses

Page 411 - 19.2.2 Editing Report Alerts

21.7 The Parameter PanelThe Parameter Panel lets users interactively format and filter report data by changing parameter values.It is located within t

Page 412 - 19.2.4 Viewing Report Alerts

5.After you have added all the tables you want to work with, click OK on the Database Expert.Note:If you select more than one table in the Database Ex

Page 413 - 2012-03-14413

You can add lists of values to SAP BusinessObjects Business Intelligence platform or Crystal ReportsServer in several ways:• You can create a list of

Page 414 - 2012-03-14414

7.Click the blank field under Country and select Region, and then click the blank field under Regionand select City.8.In the Parameter Binding area, e

Page 415 - Using Formulas

2.In the Field Explorer, select Parameter Fields and click New.The Create New Parameter dialog box appears.3.Enter a name for the parameter in the Nam

Page 416 - 20.2.1 Formula components

Null values in the data returned by the list of values are displayed as "null" in the drop-down list for thatprompt. Your users can select t

Page 417 - 20.2.2 Formula syntax

21.9 Best practices for prompting21.9.1 Unmanaged reportsUnmanaged reports are reports that you store outside of SAP BusinessObjects Business Intellig

Page 418 - 20.2.2.2 For more information

• Build a separate Business View to provide lists of values for all of your reports. The only fields thatyou need in this Business View are those that

Page 419 - 20.4 Specifying formulas

21.9.4 Deploying managed reports with dynamic promptsRepository-based lists of values and prompt groups are repository objects like any other. When ma

Page 420 - 2012-03-14420

Tip:Another way to do this is to click the Select Expert button on the Expert Tools toolbar.The Select Expert dialog box appears.2.Choose the tab whos

Page 421 - 20.4.1.2 Workshop Tree

• If you did not specify a default value, the program will not refresh the data until you supply a newvalue.Note:If the parameter is a string value ty

Page 422 - 2012-03-14422

Note:The drop-down arrow to access the calendar for dates and the up and down arrows to scroll fortimes will only be available if you have the correct

Page 423 - 2012-03-14423

When you place multiple fields, they appear in the same order that they appear in the Field Explorerdialog box. The program marks the position of each

Page 424 - 2012-03-14424

8.Click OK.21.12.2 Applying conditional formatting using parameter fieldsParameter fields can be used to create conditional formatting formulas. You c

Page 425 - 20.4.2.2 Choosing the syntax

21.12.3 Creating a report title using parameter fieldsCrystal Reports allows you to use parameter fields to create a report title that can be changed

Page 426 - 2012-03-14426

21.12.4.1 To specify single or range values1.Select the Allow discrete values option or the Allow range values option to specify whether theparameter

Page 427 - 2012-03-14427

6.Create a formula using the parameter field as you would any constant value. For example, ratherthan creating a formula that hard-codes the country n

Page 428 - 2012-03-14428

This formula prompts for a value for the parameter field {?SortField}. If you enter "C", the formulawill sort by the City field. If you ente

Page 429 - 2012-03-14429

• "&" (allows any character or space, and requires the entry of a character in the parameter value).• "C" (allows any characte

Page 430 - 2012-03-14430

• To prevent report refreshing to the database, only non-data parameters should be added to theParameter Panel.• Exported reports retain all recently

Page 431 - 20.5.3 Editing formulas

7.Select Editable from the Show on (Viewer) Panel list.This example will enable the user to edit the parameter value on the Parameter Panel. If you wa

Page 432 - 20.5.5 Copying formulas

21.12.11.1 To add dynamic grouping using parameter fields1.Create a report using the sample data, Xtreme.mdb, and place the following fields from left

Page 433 - 2012-03-14433

Subreports22.1 What are subreports?A subreport is a report within a report. The process for creating a subreport is similar to the process ofcreating

Page 434 - 20.6 Deleting formulas

To change the placement of the field(s), use the mouse to drag the field placement frame to itsnew position.•• To change the width of the field, use t

Page 435 - 20.7 Debugging formulas

22.1.1.1 UnlinkedUnlinked subreports are free-standing; their data is not in any way coordinated with the data of theprimary report.In unlinked subrep

Page 436 - 20.7.2.2 Formula1

22.1.2 How subreport linking worksWhen you link a subreport to a primary report, the program creates the link by using a parameter field.When a subrep

Page 437 - 20.7.2.3 Formula2

22.2 Inserting subreports1.On the Insert menu, click Subreport.Tip:Another way to do this is to click the Insert Subreport button on the Insert Tools

Page 438 - 20.7.2.5 Formula4

6.Click the Preview tab to see your report.7.If you chose On-demand subreport (similar to a hyperlink), click the subreport preview tab to seeyour sub

Page 439 - 20.7.2.7 FinalFormula

22.2.2 Saving a subreport as a primary reportYou may find it advantageous to save a subreport as a primary report for the sake of distributing theinfo

Page 440 - 2012-03-14440

22.2.3.1 To manually update the subreport dataYou can update your subreport data at any time.1.On the Design tab, right-click the subreport.2.Click Re

Page 441 - 2012-03-14441

To do this, you need to specify a field that is common to both the subreport and the primary report. Withthe Subreport Links dialog box, you create a

Page 442 - 2012-03-14442

22.4 Linking a subreport to the main report without modifying the selection formulaCrystal Reports uses a parameter field mechanism for linking subrep

Page 443 - 2012-03-14443

While both reports deal with sales data, there is no real linear relationship between the reports.Subreports can be used to combine unrelated reports

Page 444 - 2012-03-14444

Tables can be linked in a report as long as the following criteria are met:• The link fields are both database fields.• The link fields contain simila

Page 445 - 2012-03-14445

Adding subfolders and subcategories to the repository...985.4To add a new subfolder or subcateg

Page 446 - 2012-03-14446

Parameter fields can be used in reports (as title or label prompts), in selection formulas (as selectioncriteria prompts), and in formulas (for a vari

Page 447 - 2012-03-14447

4.Link the subreport to the primary report by linking the Social Security Number field in the primaryreport ({file.SSN}) to the formula that extracts

Page 448 - 2012-03-14448

22.7.1 To create an on-demand subreport1.Place an ordinary subreport in your primary report.2.Click the Format button on the Expert Tools toolbar.The

Page 449 - 2012-03-14449

Basic syntax formula example:formula = "More Information About" + {Customer.Customer Name}Using the Xtreme.mdb sample database, these formul

Page 450 - 2012-03-14450

Understanding Databases23.1 Databases overviewThough there are hundreds of Database Management Systems (DBMS) available, Crystal Reportseliminates man

Page 451 - Parameter Fields and Prompts

Often, data in two different tables can be related by a common field. For example, a Customers tablewill have a Customer ID for each customer, and an

Page 452 - 21.1.2 Prompt considerations

Creating indexes for database tables can increase the speed of data access and reduce the time ittakes for the program to evaluate data. Some DBMS app

Page 453 - 2012-03-14453

request. If not, it goes to the second order number, and checks that customer name. When an ordernumber is reached that contains the correct customer

Page 454 - 21.1.4 Optional parameters

the database engine does not need to continue searching through the index or the table as soon as itfinds an index entry that does not match the reque

Page 455 - 2012-03-14455

An SQL query is an SQL statement designed specifically to request data from one or more SQLdatabases. Some SQL applications require that you type in a

Page 456 - 2012-03-14456

the finished results are sent back to the client. This provides more efficient time management for usersbecause the local workstation has less process

Page 457 - 21.3.1 List-of-values types

Report Design Concepts3.1 Basic report designThe purpose of this section is to suggest a structured approach to preparing a Crystal report. Thisapproa

Page 458 - 2012-03-14458

the statement, performs the requested operation, and returns any data requested to the client software.If the server returns any data, the client soft

Page 459 - 2012-03-14459

• "Table name LIKE" is based on the SQL LIKE clause. This option allows you to specify the kindsof table names you want to appear in the Cho

Page 460 - 2012-03-14460

This SQL query is a representation of the SQL statement that Crystal Reports sends to the SQL server.By interpreting as much as possible from the repo

Page 461 - 2012-03-14461

The FROM clause indicates the sources of the database fields specified in the SELECT clause. FROMlists actual database tables that include the fields

Page 462 - 2012-03-14462

clause, the program sorts the records according to the values in the first field specified, then, withinthat sort, the program sorts the records by th

Page 463 - 2012-03-14463

When you use a virtual table that was created as a Command, or when you use a Command from theSAP BusinessObjects Enterprise Repository, Crystal Repor

Page 464 - 2012-03-14464

Note:The use of double or single quotes (and other SQL syntax) is determined by the database driverused by your report. You must, however, manually ad

Page 465 - 2012-03-14465

Enter the text you want to appear when the program prompts you.• Value TypeSelect the data type of the parameter field.• Default ValueEnter the value

Page 466 - 2012-03-14466

The Verify Database command on the Database menu checks the alias pointers stored in a report fileto verify that the database files expected are locat

Page 467 - 2012-03-14467

This button is available only when like items are selected (that is, if you select a table in the upperlist, you must select a table in the lower list

Page 468 - 2012-03-14468

in a haphazard manner, the report may slow the decision-making process or may even encourageincorrect decisions.A good starting place in the developme

Page 469 - 21.7 The Parameter Panel

the file name extension. For example, if you are using the dBASE database file Company.dbf, theprogram will assign a default alias name of Company to

Page 470 - 2012-03-14470

In a one-to-one relationship between records in two linked tables, for every record in the primary tablethere is only one matching record in the looku

Page 471 - 2012-03-14471

In a worst case scenario the program would have to read about 67,600 records to accomplish thesame task.Note:The performance considerations for data f

Page 472 - 21.8.4 Null handling

PC DataTotalRecordsReadFor each Areads in BReads AIndex BIndex ASelectionFormulaLinking/Subreport2600100(26*100)26YesYes or NoNoLinking2600100(26*100)

Page 473 - 21.8.5 Long lists of values

Total RecordsReadFor each Areads in BReads ASelection Formu-laLinking/Subreport2600100 (26*100)26NoSubreport200100 (2*100)2YesSubreport23.5.4 Data fil

Page 474 - 21.9.2 Managed reports

• The program passes this merged record (A+B) back to the Report Designer, which tests therecord against the entire selection formula.• The program th

Page 475 - Administrator's Guide

• The number of records read for each subreport is determined by the index situation on Table B:• If you have an index on Table B, the program will re

Page 476 - 2012-03-14476

• If there is no selection formula, or if the selection formula does not pass down range limits onTable A, the program runs a subreport for every reco

Page 477 - 2012-03-14477

Note:If all of the conditions in an AND situation can be satisfied on the server or in the database DLL, theprogram passes them all down.• OR situatio

Page 478 - 2012-03-14478

23.5.7 The Database Expert Links tabThe Database Expert Links tab lets you easily link two or more tables. Choose the Database Expertfrom the Database

Page 479 - 2012-03-14479

What identifying information is needed in the header and footer?You may wish to include the print date, information on who prepared the report, a bloc

Page 480 - 2012-03-14480

When using the Smart Linking feature to link tables using a field that is a component of multiple indexes(two or more), Crystal Reports selects one of

Page 481 - 2012-03-14481

23.5.10 Linking optionsCrystal Reports enables you to specify the type of join and type of link you want to use when linkingtables. You can also enfor

Page 482 - 2012-03-14482

Orders TableCustomer TableCustomer TableOrder AmountCustomer NameCustomer ID25141.50Allez Distribution5219164.30BG Mountain Inc.531683.60BG Mountain I

Page 483 - 2012-03-14483

Orders TableCustomer TableCustomer TableOrder AmountCustomer NameCustomer ID25141.50Allez Distribution5219164.30BG Mountain Inc.531683.60BG Mountain I

Page 484 - 2012-03-14484

23.5.10.3 Right Outer joinThe result set from a Right Outer join includes all the records in which the linked field value in bothtables is an exact ma

Page 485 - 2012-03-14485

Note:Left Outer and Right Outer joins are handled differently in the SQL language from other join types. Ifthe database is accessed through ODBC, Crys

Page 486 - 2012-03-14486

Orders TableOrders TableCustomer TableOrder AmountOrder IDCustomer ID12763.9532638233.501464656610320.872523.5.10.5 Not EnforcedWhen you select this o

Page 487 - 2012-03-14487

23.5.10.7 Enforced ToWhen you select this option, if the from table for the link is used, the link is enforced. For example, ifyou create a link from

Page 488 - 2012-03-14488

Orders TableCustomer TableCustomer TableOrder AmountCustomer NameCustomer ID19164.30BG Mountain Inc.531683.60BG Mountain Inc.5315716.40Hansen MTB Inc.

Page 489 - Subreports

'Manager' ManagerWHERE SalesRep.'Salary' >Manager.'Salary'This SQL statement might produce data similar to this:Manag

Page 490 - 22.1.1.2 Linked

Does the data exist or does it need to be calculated?Some report information can be drawn directly from data fields (sales information, for example);

Page 491 - 2012-03-14491

The result set from a Greater Than Or Equal link includes all records in which the linked field value inthe primary table is greater than or equal to

Page 492 - 22.2 Inserting subreports

23.5.10.12 Less Than [<] linkThe result set from a Less Than link includes all records in which the linked field value in the primarytable is less

Page 493 - 22.2.1 Previewing subreports

23.5.10.13 Less Than Or Equal [<=] linkThe result set from a Less Than Or Equal link includes all records in which the linked field value in thepri

Page 494 - 22.2.3 Updating subreports

SalesRep TableSalesRep TableManager TableManager TableSalaryLast NameSalaryLast Name$48,300.00Dodsworth$45,000.00Hellstern23.5.10.14 Not Equal [!=] li

Page 495 - 2012-03-14495

Product2Product1Product NameProduct NameInFlux Lycra GloveXtreme Mtn LockRoadster Micro Mtn SaddleXtreme Mtn LockXtreme Adult HelmetInFlux Lycra Glove

Page 496 - 2012-03-14496

the data retrieval and sorting work onto the server system, thus freeing up local memory and resourcesfor more important tasks. That is why server-sid

Page 497 - 2012-03-14497

23.6.1 How server-side grouping affects the SQL queryWhen a report pushes most of its processing to the server, this by necessity alters the SQL query

Page 498 - 2012-03-14498

Note:You can also enable or disable this option quickly by selecting or deselecting Perform Grouping onServer on the Database menu as needed. If Use I

Page 499 - 2012-03-14499

On some occasions, you might want to unmap or unlink report and database fields that you have alreadymapped. For example, you might mistakenly map the

Page 500 - 2012-03-14500

• The name of a field that is used in the report has changed.• The database or universe has been upsized from a PC data source to an SQL data source.F

Page 501 - 22.8.1 To add a caption

want to flag each item that has shown no activity during the last month, during the last three months,or during some other defined period. To flag inf

Page 502 - 2012-03-14502

23.7.3 Remapping altered database fieldsUse the Map Fields dialog box to remap existing report fields in the active database or universe if theyhave b

Page 503 - Understanding Databases

23.8 Saved Data IndexesYou can increase the performance of a Crystal report by indexing its saved data. When you create aSaved Data Index on a particu

Page 504 - 23.1.2 Indexed tables

23.8.2 Considerations for using Saved Data IndexesThere are some things that you should consider before deciding to use Saved Data Indexes:• Indexes w

Page 505 - 2012-03-14505

1.Open your report in the Crystal Reports.2.On the Report menu, click Report Bursting Indexes.3.In the Saved Data Indexes dialog box, select the field

Page 506 - 2012-03-14506

Note:If your database requires a user name and password, or any other log on information, a log on dialogbox appears.3.Highlight the query in the View

Page 507 - 23.2.1 What is SQL?

• "Owner LIKE" is also based on the SQL LIKE clause. Owner LIKE allows you to select the Owner(or Creator or Alias) of the table, not the ta

Page 508 - 2012-03-14508

3.Ensure that the Stored Procedures check box is selected.Selecting "Stored Procedures" automatically displays any available stored procedur

Page 509 - 23.2.2 SQL DBMS

23.10.2 Using ODBC data sources23.10.2.1 Setting up an ODBC data sourceTo set up an ODBC data source, you must first have an ODBC driver installed for

Page 510 - 23.2.2.1 Stored procedures

23.10.2.2 Checking settings for an ODBC data source1.Open the ODBC Data Source Administrator, which is usually found under Start > Programs >Adm

Page 511 - 2012-03-14511

The ODBC (RDO) dialog box appears.3.Choose the data source you want to open by Data Source Name or File DSN.4.Click Next if the data source requires a

Page 512 - 23.2.4.3 FROM

• Formulas placed in this area are evaluated once, at the beginning of the report.Page HeaderObjects placed in the Page Header area print at the begin

Page 513 - 23.2.4.5 ORDER BY

6.Repeat the previous step for both the Customer and Orders tables.7.When all three tables have been added, click the links tab on the Database Expert

Page 514 - 23.2.4.6 GROUP BY

23.11.2.2 To use ACT! databases newer than version 21.On the Start Page, click Blank Report.2.In the Database Expert dialog box, expand the Create New

Page 515 - 2012-03-14515

• Application• Security• SystemUse these tables to create your report based on the NT Current Event Log.Note:• In order to report on the Security tabl

Page 516 - 2012-03-14516

Integrating Business Applications with Crystal ReportsCrystal Reports is the program that you use to create and format Crystal reports, and SAPBusines

Page 517 - 23.3 Changing data sources

SAP BusinessObjects 3.x Integration for SAP Solutions provides support for specific SAPBusinessObjects Business Intelligence platform products and del

Page 518 - 2012-03-14518

24.1.1.1.2 Connecting to SAP with Crystal ReportsOnce you have installed Crystal Reports 2011, you can start Crystal Reports and select a driver foryo

Page 519 - 23.4 Working with aliases

2.Click the Database tab.3.In the Data Explorer area, select the check boxes for the types of data that you want to make availablefor the report.4.Use

Page 520 - 23.5.2 Link relationships

24.1.2 Add-OnsThe Add-Ons distribution contains the setup program and additional documentation for the componentsthat integrate with your SAP system.

Page 521 - 2012-03-14521

Note:The BW Query driver is not supported in the current and future releases. The MDX driver provides thesame function set as the BW Query driver with

Page 522 - 2012-03-14522

Additionally, the MDX Query driver allows you to create reports from queries that contain hierarchyvariables and hierarchy node variables. The driver

Page 523 - 2012-03-14523

3.3 Developing a prototype on paperWhile a paper prototype is useful regardless of your level of expertise with Crystal Reports, it is particularlyval

Page 524 - 23.5.4.1 Linking data files

5.Define your query by selecting measures and characteristics from the Key Figure and Dimensionslists and dragging them to the Columns area.Note:When

Page 525 - 2012-03-14525

2.Under Available Data Sources, expand Create New Connection and then expand SAP BW MDXQuery.The "SAP System Logon" dialog box appears.3.Sel

Page 526 - 23.5.5.1 Linked SQL tables

working with Multiple Structures, it is recommended that you show only the descriptions. The GlobalUnique Identifiers (GUID) that SAP assigns to Multi

Page 527 - 23.5.6.1 Consideration 1

This field has no purpose other than to create lists of values for hierarchy variables. This field shouldnot be used for reporting.Selecting cubes for

Page 528 - 23.5.6.3 Consideration 3

9.Click OK."Crystal Reports" generates a blank report that uses your cube as its data source. You can now addobjects to the report.Multiple

Page 529 - 23.5.8 Linking indexed tables

• Don't show this dialog againIf you select this option now, you can modify your default settings later by clicking Settings onthe SAP menu.5.Cli

Page 530 - 23.5.9 Link processing order

6.Select the following measures from the Key Figure list, and drag them to the Columns area:• Invoiced quantity• Sales Volume7.Click Query Properties.

Page 531 - 23.5.10.1 Inner join

2.Drag Invoiced Quantity from the "Field Explorer" and place it in the Details section of the report.3.Click the Refresh button to view the

Page 532 - 23.5.10.2 Left Outer join

To summarize the data1.On the Insert menu click Summary.2.The Insert Summary dialog box appears.3.In the Choose the field to summarize list, select In

Page 533 - 2012-03-14533

How to create a simple BW query with a hierarchyThis section uses the query that you created in the last tutorial, Building a report off a BW query. Y

Page 534 - 23.5.10.3 Right Outer join

2012-03-1458Report Design Concepts

Page 535 - 23.5.10.4 Full Outer join

This field contains the captions of the hierarchy members.To build a hierarchy report off the BW hierarchy• On the View menu, click Field Explorer.The

Page 536 - 23.5.10.6 Enforced From

How to summarize dataThis section guides you through the process of summarizing data based on the query you created inthe last section, How to build a

Page 537 - 23.5.10.9 Equal [=] link

6.In the Formula Workshop, enter the formula:HierarchyLevel (GroupingLevel({[Hierarchy Name] Node ID})) * 250Note:• The field {[Hierarchy Name] Node I

Page 538 - 2012-03-14538

5.Ensure that the Selection field is set to Single Values, and that the Hierarchy field is set to thehierarchy you created for this dimension.In this

Page 539 - 2012-03-14539

You now have a query with a simple hierarchy on Material class and a hierarchy node variable basedon the Material class hierarchy.How to build a repor

Page 540 - 2012-03-14540

should be based on the same hierarchy as the query. Therefore, you will change the hierarchy nodevariable to reflect the new hierarchy variable in thi

Page 541 - 2012-03-14541

Now that the display hierarchy is set to a variable rather than the Material class hierarchy, you mustreset the hierarchy node variable to the new hie

Page 542 - 2012-03-14542

Note:You do not need to do this when viewing the report in SAP BusinessObjects Business Intelligenceplatform. In SAP BusinessObjects Business Intellig

Page 543 - 2012-03-14543

When a query contains a hierarchy variable, the MDX Query driver creates an extra field calledHierarchies in Crystal Reports that allows you to create

Page 544 - 23.6 Server-side processing

2.Connect to SAP as outlined in Using the Log On Server command.Select SAP Operational Data Store in the Data Explorer.3.Click Options.2012-03-14589In

Page 545 - 2012-03-14545

Introduction to Reporting4.1 Report creation optionsEach time you create a new report, you have three options:• Use a Report Creation Wizard.• Use ano

Page 546 - 2012-03-14546

The "Options" dialog box appears with only the Database tab displayed.Tip:If you chose to use the report wizard, right-click SAP Operational

Page 547 - 23.7 Mapping database fields

Note:The % and _ wildcards correspond respectively to the asterisk (*) and question mark (?) wildcardsused in Windows. The % and _ wildcards correspon

Page 548 - 23.7.2 Remapping processes

10.In the Available Data Sources area, double-click the ODS that you want to use as a data source forthe report.The ODS moves to the Selected Tables a

Page 549 - 2012-03-14549

Reports that are based on SAP queries and InfoSets behave similarly to reports that are based onstored procedures in mainstream databases. You can ins

Page 550 - 2012-03-14550

4.In the Data Explorer area, select the check boxes for the types of data that you want to make availablefor the report.5.Use the Table name LIKE fiel

Page 551 - 23.8 Saved Data Indexes

The Data Explorer displays the selected queries or InfoSets, along with the descriptions defined bythe SAP administrator.8.Click Close.9.Open a new, b

Page 552 - 23.8.3.1 To index saved data

Tip:For additional information about parameters and general report design topics, see theCrystal ReportsOnline Help.24.1.3.2 Reporting off other SAP d

Page 553 - 23.10.1 Using Access queries

Objects supported by the Open SQL driverThe Open SQL driver provides access to several low-level objects within SAP: transparent tables, pooland clust

Page 554 - 2012-03-14554

4.In the Create New Connection folder, expand SAP Table, Cluster, or Function.The "SAP System Logon" dialog box appears.5.Log on to an SAP s

Page 555 - 2012-03-14555

Linking tables and viewsReports that are based on SAP tables (transparent, pool, and cluster tables, as well as views) behavesimilarly to reports that

Page 556 - 2012-03-14556

Strategies for writing efficient record selection formulas...1216.5.3Incorporating parameter fields

Page 557 - 2012-03-14557

4.2 Choosing data sources and database fieldsCrystal Reports makes it simple to select data sources and database fields by providing easy-to-usefuncti

Page 558 - 2012-03-14558

SQL driver provides the ability to call ABAP functions that have defined return types and to display theirresults. ABAP functions are also useful in s

Page 559 - 23.11.1 One-to-many links

TypeFieldStringNameStringDepartmentIntegerYears_of_serviceIntegerAgeDateDateField_InDateDateField_OutWhen working with the Name, Department, and DateF

Page 560 - 23.11.2 ACT! databases

TypeFieldStringContactInfo.PhoneStringContactInfo.emailAs before, you must either link the street and zip code fields to or from another table, or def

Page 561 - 2012-03-14561

Positions.StartDatePositions.TitleGenderName7/12/98VP, MailMTomFunctions with multiple tables as their outputFunction FIMPORTINGVALUE(NAME) TYPE CEXPO

Page 562 - 2012-03-14562

Options.NumberOptions.GrantDatePositions.StartDatePositions.TitleGenderName153005/6/977/12/98VP, MailMTomReporting off ABAP data clustersReporting off

Page 563 - 24.1.1 Introduction

In order to overcome these issues, the individual components of data clusters must be mapped astables. You can do this by creating a dictionary of the

Page 564 - 2012-03-14564

Locating the cluster area's key fieldsThis section guides you through the process of locating the cluster area's key fields based on the new

Page 565 - Logging on to the SAP server

You now need to add the key fields to your new dictionary entry in the Cluster Definition tool. To addthese key fields to the dictionary entry, go to

Page 566 - 2012-03-14566

field's data type. In this example, the key field is defined by reference, so you can ignore the ABAPtype and Length fields.9.Click Save; then cl

Page 567 - 24.1.3 Reporting with SAP

5.In the ABAP code, look for the heading that denotes the beginning of the table, and note the structurethat is included in the following line.For thi

Page 568 - MDX Query driver overview

• Database Files• ODBC (RDO)• OLAP• OLE DB (ADO)Note:The data source options available in the Create New Connection folder depend on the data accessco

Page 569 - Formatted reporting overview

Note:In this example, you need not complete the remaining fields (Reference Field, ABAP Type, andLength). Use these fields to add specific information

Page 570 - 2012-03-14570

Migrating your existing security modelTo continue to use the data access restrictions that you defined using a previous version of SAPBusinessObjects

Page 571 - 2012-03-14571

2.You now have two options:• If you want to enable the Global Lock, select the Allow access only to the tables specifiedabove option.• If you want to

Page 572 - 2012-03-14572

Customizing authorizations for specific tablesWhether you have enabled or disabled the Global Lock feature, you may need to customize the dataaccess a

Page 573 - Selecting cubes for reports

You will now associate your new authorization object with an SAP table.3.In the Table name field, type the name of the table whose security definition

Page 574 - To save a report to BW

5.Click Create.The "Authorization Object entry" dialog box appears.6.Click Reference to an authorization object.The "Authorization Obje

Page 575 - To create a simple BW query

7.In the Authorization object name field, type the name of the authorization object that you createdin step 1.For this example, type ZTABCHK.8.Click C

Page 576 - To create a new report

9.In the Field value list, type the name of the table whose security definition you want to customize.For this example, type VBAK.10.Click Save.You ha

Page 577 - To group and sort data

Note:Regardless of the method you use, ensure that your new authorization holds the name of the correctdatabase table in its TABLE field value. In thi

Page 578 - To save your report

Essentially, by associating an authorization object with a field within an SAP table, you define that tableas an exception to the Global Lock settings

Page 579 - 2012-03-14579

Use this option to rename an existing SQL command in the SAP BusinessObjects EnterpriseRepository.• OptionsUse this option to set the global options t

Page 580

The "Authorization field values" screen appears.10.In the Field value list, type the equals sign (=) and the name of the field that you want

Page 581 - How to summarize data

Note:You can now use wildcards to specify the table name. This is an efficient way to apply an authorizationto multiple tables with similar names simu

Page 582 - 2012-03-14582

24.1.3.3 Reporting with SAP BW24.1.3.3.1 Designing and Translating ReportsThis section introduces you to the Report Wizards in Crystal Reports and pro

Page 583 - 2012-03-14583

The Settings dialog box appears.3.Ensure that Prepare reports for translation on server is selected.This option changes your default settings, so repo

Page 584 - 2012-03-14584

3.On the shortcut menu, click Format Field.The "Format Editor" dialog box appears.4.Click the Font tab.5.Click the Formula button that corre

Page 585 - 2012-03-14585

Migrating development content to a production BW systemIf you have deployed SAP BusinessObjects Enterprise Integration for SAP Solutions in your devel

Page 586 - 2012-03-14586

24.2.2 To access data in SAP Crystal Reports1.Start Crystal Reports.2.On the Start Page, click Blank Report.3.In the Database Expert, expand Create Ne

Page 587 - 2012-03-14587

Generating reports using the Integration product provides easy access to the data within Siebel. Userswho are currently involved with the production o

Page 588 - Selecting an ODS object

10.If desired, select Apply Current Query or Restrict to Current Selection.Note:You must select Apply Current Query to display the Restrict to Current

Page 589 - Click Options

24.3.2 Configuring the connectionThe Integration product supports the following connection types:• Server• Local• Local (Active Dedicated Session)24.3

Page 590 - 2012-03-14590

4.2.2.2 Toolbar and Shortcut MenuThe Field Explorer's toolbar provides buttons with tool tips and hot-key combinations. You can right-clickany it

Page 591 - 2012-03-14591

24.3.2.2.1 Connection StringIn the Connection String field, enter the connection string used to connect to the Siebel Server. Dependingon your Siebel

Page 592 - InfoSet Query driver overview

Note:Selecting the Server data source in the Data Source field continues to use the Siebel Mobile/DedicatedWeb Client to connect and will require a Se

Page 593 - 2012-03-14593

Note:• If Apply Current Query is not selected, Restrict to Current Selection is not available.• When you view a report using the Siebel Mobile Web Cli

Page 594 - 2012-03-14594

If there is no active selection for the business component being viewed in Crystal Reports, then thisrestriction has no effect and the same records ar

Page 595 - 2012-03-14595

24.3.5 Updating reports created in earlier versions of Crystal ReportsIt is recommended that you reset the datasource location of reports created with

Page 596 - Open SQL driver overview

If the View Mode field is placed onto a report, it will always show the current visibility, which is AllViewby default.24.3.8 Using Siebel formattingS

Page 597 - 2012-03-14597

You can report off parent-child business components by linking parent business components to childbusiness components in the following ways:• By openi

Page 598 - 2012-03-14598

Crystal Reports TypeSiebel TypeNumberDTYPE_NUMBERCurrencyDTYPE_CURRENCYDateDTYPE_DATETimeDTYPE_TIMEDate-timeDTYPE_DATETIMEStringDTYPE_IDStringDTYPE_PH

Page 599 - Reporting off ABAP functions

24.4 Integrating with PeopleSoft24.4.1 OverviewIf you installed the Data Connectivity feature of SAP BusinessObjects Enterprise XI 3.x, you can workwi

Page 600 - Examples

• If you installed the integration product on a PeopleSoft Enterprise (PeopleTools 8.21-8.45)environment, click PeopleSoft Query, and provide the foll

Page 601 - 2012-03-14601

Use this option to open the Set Prompt Order dialog box, in which you can change the prompt orderof your parameter fields.• Show Field TypeUse this op

Page 602 - 2012-03-14602

To enable Unicode support, you must configure your system as described in theCrystal Reports User'sGuideand theSAP BusinessObjects Business Intel

Page 603 - 2012-03-14603

You can now create Crystal reports with data from your JD Edwards EnterpriseOne Enterprisesystem.Once you have connected to a data source, you can sav

Page 604 - What is a data cluster?

2012-03-14642Integrating Business Applications with Crystal Reports

Page 605 - Mapping ABAP data clusters

Accessing Data SourcesA.1 IntroductionCrystal Reports can access data stored in almost any common database format, as well as manyuncommon formats. Th

Page 606 - 2012-03-14606

• Direct access database files• ODBC data sources• OLE DB• Business Views• Crystal SQL Designer files• Crystal Dictionary filesEach type of data must

Page 607 - 2012-03-14607

When you access a database directly through Crystal Reports, only that database type can be usedby the report. You cannot switch to a different type o

Page 608 - 2012-03-14608

A.2.3.3 DatabaseThe database file consists of one or more tables. Different DBMS applications store database informationdifferently. For example, dBAS

Page 609 - 2012-03-14609

A.2.4.2 dBASE, FoxPro, ClipperCrystal Reports has been designed to open dBASE data simply and directly through the xBase engine(inside crdb_p2bxbse.dl

Page 610 - 2012-03-14610

DAO uses Microsoft's Object Linking and Embedding (OLE) technology to provide access to Accessdata through an object-oriented approach.In additio

Page 611 - 2012-03-14611

• When you open a Pervasive database, Crystal Reports opens the entire database and loadsinformation about all the tables in the database. To do this,

Page 612 - 2012-03-14612

The Design tab is the place you do most of the initial work when creating a report. It designates andlabels the various sections of the report. You ca

Page 613 - 2012-03-14613

• Exchange Folder Contents• Mail messages• Exchange Form applications• Properties of OLE documents• Exchange Administrator• Properties of Exchange mai

Page 614 - 2012-03-14614

How Crystal Reports treats Exchange dataCrystal Reports treats Exchange Administrator data (Public Folder Admin, Public Folder ACL, PublicFolder Repli

Page 615 - 2012-03-14615

A.2.4.9 OracleCrystal Reports supports direct access to Oracle SQL databases. This accessibility is provided by thecrdb_oracle.dll translation file. T

Page 616 - 2012-03-14616

Note:The Lotus Domino executable and data directories are added to the PATH.A.2.4.12 Informix Online ServerThe Informix Online Server provides client/

Page 617 - 2012-03-14617

DescriptionFileFor Microsoft ActiveX Data Objectscrdb_fielddef.dllFor Microsoft ActiveX Data Objectscrdb_ado.dllFor Crystal Data ObjectCrystal Data Ob

Page 618 - Applying row-level security

Crystal Reports provides the translation files crdb_p2sevta.dll (archived log) and crdb_p2sevtc (currentlog) for working with NT Event Log data. These

Page 619 - 2012-03-14619

There are hundreds of Database Management Systems (DBMS) available for personal computers, andthousands of applications that access DBMS data. Normall

Page 620 - 2012-03-14620

translation (ODBC data source) layer. The data source must analyze the request and translate it againinto a format that can be understood by the DBMS.

Page 621 - 2012-03-14621

A.3.3.2 ODBC translation layerCrystal Reports uses the Dynamic Link Library crdb_odbc.dll to communicate with ODBC. This file isunique to Crystal Repo

Page 622 - 2012-03-14622

Once an ODBC driver is registered, you need to establish an ODBC data source using that driver. TheODBC data source is the object that you connect to

Page 623 - Reports Online Help

This section is used for the body of the report, and is printed once per record. The bulk of the reportdata generally appears in this section.• Report

Page 624 - 24.1.3.3.2 Publishing Reports

1.On the Start menu, select Settings, select Control Panel, then double-click Add or RemovePrograms.2.Select Crystal Reports and click Change.3.In the

Page 625 - 24.2.1 Overview

A.3.6.2 ExcelYou can convert Microsoft Excel spreadsheets into databases that can be read by Crystal Reportsthrough ODBC. In Excel 4.0 and earlier, us

Page 626 - 24.3.1 Connecting to Siebel

• Oracle• Sybase• Microsoft SQL Server• DB2Crystal Reports still communicates with ODBC through the crdb_odbc.dll translation file, but theDataDirect

Page 627 - 2012-03-14627

A Lotus Domino database can be read by Crystal Reports through ODBC. For Windows, the LotusDomino DBMS translation layer consists of three files:• Nsq

Page 628 - 2012-03-14628

A.4.1 JNDIThe Java Naming and Directory Interface (JNDI) provides an interface that you can use to seamlesslyconnect to diverse naming and directory s

Page 629 - 24.3.2.2 Server

Crystal Reports uses the Dynamic Link Library crdb_jdbc.dll to communicate with JDBC. This fileis unique to Crystal Reports environment and provides y

Page 630 - 24.3.2.3 Local

crdb_jdbc.dll translation file, which has been designed to work with any fully JDBC-compliant driver.Crystal Reports officially supports third-party J

Page 631 - 2012-03-14631

You can create a Crystal report from a Business Objects universe. Crystal Reports lets you select auniverse and design a query from it using a tool ca

Page 632 - 2012-03-14632

For detailed information about Business Views and how to create them, see theBusiness ViewsAdministrator's Guide.Note:• When you save a report th

Page 633 - 2012-03-14633

Note:The file crdb_query.dll must be installed before you can use query files in your reports.A.8 Crystal Dictionary filesA dictionary (.dc5) file is

Page 634 - 24.3.7.1 The View Mode field

Like the original areas, each of these newly added areas can contain one or more sections. By default,they each contain a single section.4.3.1.2 Ident

Page 635 - 2012-03-14635

2012-03-14670Accessing Data Sources

Page 636 - 24.3.11 Data Types

Report Processing ModelB.1 OverviewCrystal Reports uses a three-pass reporting method to generate reports. The sections below describewhat happens dur

Page 637 - 2012-03-14637

• Record retrieval. Where possible record selection and sorting are pushed down to the database inthis step.• Evaluation of recurring formulas. These

Page 638 - 24.4.1 Overview

These are formulas that contain references to subtotals or summary information, also known as"PrintTime" formulas. This evaluation time is k

Page 639 - 2012-03-14639

2012-03-14674Report Processing Model

Page 640 - 24.5.1 Overview

Crystal Reports Error MessagesC.1 Drive:\filename.extensionThis document could not be opened. It does not appear to be a Crystal Reports document.Cont

Page 641 - 2011 User Guide

C.3 Failed to load database connectorReasonThe database connector is not available on the machine that is processing the report.The database client so

Page 642 - 2012-03-14642

C.5 Failed to retrieve data from the database. Details: [Database Vendor Code: <vendorcode number>]ContextOccurs when refreshing or previewing a

Page 643 - Accessing Data Sources

2012-03-14678Crystal Reports Error Messages

Page 644 - A.2.2 Disadvantages

Creating Accessible ReportsD.1 About accessibilityWhen you create Crystal reports for a large audience across the organization—and around theworld—you

Page 645 - A.2.3.2 Data translation

4.3.1.3 Other Design tab capabilitiesThere are several other capabilities built into the Design tab. With the Design tab, you can:• Resize a section b

Page 646 - A.2.4.1 Microsoft Access

Many accessibility guidelines result in improved usability. An accessible report must provide logicaland consistent navigation. Its content must be cl

Page 647 - A.2.4.4 DAO

step further, the United States government introduced legislation in the form of Section 508 of theRehabilitation Act, which ensures the right to acce

Page 648 - A.2.4.5 Pervasive

D.2 Improving report accessibilityTo begin improving the accessibility of your Crystal reports, start with accessibility guidelines that arequick and

Page 649 - A.2.4.6 Exchange

D.2.1.2 Placing objects in orderWhen you publish a report to SAP BusinessObjects Business Intelligence platform, the HTML versionorganizes the objects

Page 650 - 2012-03-14650

D.2.2 TextThe most common accessibility issue encountered by report designers is also one of the easiest toresolve: providing text-only versions of no

Page 651 - A.2.4.8 ACT!

D.2.2.2 Providing text-only alternativesIf there are too many non-text objects on a report, or if you do not have the resources to integrateaccessible

Page 652 - A.2.4.11 Lotus Domino

To improve the logical flow of spoken text, you may need to add extra punctuation to create pauses.Without extra punctuation, screen readers may read

Page 653 - A.2.4.14 Active Data

Not all non-text objects require text equivalents. You need to include text alternatives only for non-textobjects that provide information or navigati

Page 654 - A.2.4.16 NT Event Log

For text, use the Format Editor to change the font, size, or style. You can add borders, underlining, orbackground shading to differentiate text objec

Page 655 - A.3 ODBC data sources

recommends simple navigation that uses the least number of navigation links possible. Either approachcan be effective for your reports, as long as you

Page 656 - A.3.2 Disadvantages

In standard view, the report is displayed a page at a time. Using the navigation buttons in the Previewtab, you can move to the beginning or end of th

Page 657 - A.3.3.1 Crystal Reports layer

D.3 Designing for flexibilityFlexibility is the key to providing accessible reports. Because different users require different levels ofaccessibility,

Page 658 - A.3.3.3 ODBC layer

D.3.1.1 To apply accessible settings to font size conditionally1.Open the report in the Design tab of Crystal Reports.2.In the Details section, right-

Page 659 - A.3.3.5 Database layer

D.3.2.1 To suppress an accessible section1.Right-click the left boundary of the section you want to suppress conditionally, and click SectionExpert.2.

Page 660 - A.3.6.1 Access

D.4 Improving data table accessibilityLarge tables of data can be difficult to interpret if a person is using a non-visual means of accessingthe web,

Page 661 - A.3.6.3 Informix

Before you can create an accessible data table, you must plan your report in advance, determiningwhich objects and database fields you want to include

Page 662 - A.3.6.6 Lotus Domino

D.4.1.2 Labeling data tables conditionallyAlthough adding text objects is relatively easy to implement, it does not address all accessibility concerns

Page 663 - A.4 JDBC data sources

Note:The report shown also uses the ?Access parameter field to enable the Can Grow option (also on theCommon tab of the Format Editor) and increase th

Page 664 - A.4.2.1 Crystal Reports layer

This report uses the following formulas:@Employee IDIf {?Access}="Yes" then "Employee ID "+ ToText({Employee.Employee ID},0) + &qu

Page 665 - A.4.2.5 Database layer

D.4.2 Other data table design considerationsIn addition to labeling data values with text objects, other report design techniques can help you created

Page 666

To display the table summary conditionally, the report designer divided the Page Header into twosections. The first page header is suppressed when the

Page 667 - A.6 Business Views

Summarizing grouped data...1668.3To summarize grouped

Page 668 - Crystal Reports Online

The Group Tree can be shown or hidden using the Toggle Preview Panel button on the Standardtoolbar.The Group Tree presents a split screen:• The right

Page 669 - A.8 Crystal Dictionary files

For the BI platform Server web desktop, display objects in the Action view. The Action view is moreaccessible because it provides a text list of the a

Page 670 - 2012-03-14670

Server-side image maps identify active regions using coordinates, which are not meaningful to ascreen reader. Client-side image maps provide better ac

Page 671 - Report Processing Model

2012-03-14702Creating Accessible Reports

Page 672 - B.1.5 Pass 2

More InformationLocationInformation Resourcehttp://www.sap.comSAP product informationhttp://help.sap.com/businessobjectsAccess the most up-to-date Eng

Page 673 - B.1.6 Pass 3

LocationInformation Resourcehttps://service.sap.com/notesThese notes were formerly known as Knowledge Base articles.Noteshttps://www.sdn.sap.com/irj/s

Page 674 - 2012-03-14674

Index3-D Riser chart 2713-D Surface chart 271AA to B, A to C link, setting up 559ABAP data clustersand the Cluster Definition tool 604and the Open SQL

Page 675 - C.2 Drive:\test.rpt

chartsauto-arranging 281changing border 282conditionally formatting 282creating 274on an OLAP cube 277on Cross-Tab summaries 276on subtotal fields 275

Page 676 - 2012-03-14676

data(continued)grouping 41, 147hierarchically 159in intervals 156on first letter of name 158linking 75live 111minimizing transfer 107placing on report

Page 677 - 2012-03-14677

designing reports(continued)multiple columns 216organizing data 84placing 273charts 273data 76database fields on 76formula fields 77maps 288parameter

Page 678 - 2012-03-14678

fontssetting fractional sizes 234footers, creating after the page 258form lettersinserting a date 202inserting address 202printing conditional message

Page 679 - Creating Accessible Reports

• Dynamic parameters that use cascading prompts.On the panel, data parameters are differentiated from non-data parameters with a database icon. Whena

Page 680 - 2012-03-14680

groups(continued)sortingconditionally 150records within 151subtotaling 171guidelines 226designing with 226inserting 227positioning objects with 229sna

Page 681 - 2012-03-14681

lists of values(continued)command objects as data source472long lists 473null handling 473overview 457separate values and descriptions471sharing commo

Page 682 - 2012-03-14682

ODBC data sources(continued)logging on to 558setting up 557ODS driver 588overview 588selecting data source 588OLAP 372changing view of grid 372creatin

Page 683 - 2012-03-14683

properties(continued)conditional on/off 255prototypes, developing on paper 57publishing 624in batches 624predefined reports 624publishing to SAP Busin

Page 684 - D.2.2 Text

reports(continued)exporting 380to a disk file 385to an application 384to an Exchange folder 386to Microsoft Mail 387faxing 379finding data 53formattin

Page 685 - D.2.2.3 Using punctuation

screen readers 679Section 508, Rehabilitation Act 680, 701sections 214accessibility 691deleting 192Details 65identifying 67inserting 192making read-on

Page 686 - D.2.2.4 Formatting text

subtotal fields, charting on 275subtotaling grouped data 171summarized data, drilling down on 84summarized group values, sorting 167summarizing groupe

Page 687 - D.2.3.1 Contrasting colors

XXcelsius, inserting objects in reports312XML, exporting to 380Xtreme.mdb 23XY Scatter chart 271ZZCDD, Cluster Definition tool 605zooming features 281

Page 689 - D.2.5 Parameter fields

In the Preview tab, however, you are working with the actual data. Instead of a field frame representingmany field values, the values themselves appea

Page 690 - D.3 Designing for flexibility

For information about how to configure the HTML Preview Options, search the Crystal Reports onlinehelp for “Smart Tag & HTML Preview tab (Options

Page 691 - 2012-03-14691

• Database FilesThis option shows a list of standard PC databases that reside locally. You can use Find DatabaseFile to browse for a PC database using

Page 692 - 2012-03-14692

4.4.3 Linking multiple tablesIf the report contains data from two or more database tables, they need to be linked at this point whencreating reports.N

Page 693 - 2012-03-14693

4.To create links manually, drag a field from one table to a field in another table. If successful, a linkline is created. If unsuccessful, a message

Page 694 - 2012-03-14694

4.4.4.1.1 To insert a database field1.On the Standard toolbar, click Field Explorer.The Field Explorer dialog box appears. To speed the report buildin

Page 695 - 2012-03-14695

4.Type the expression in the SQL Expression Editor.Note:For an overview of the formula language, see Formula components and syntax.5.Click Save.4.4.4.

Page 696 - 2012-03-14696

sum of 2 + 4), and then 12 (the sum of 2 + 4 + 6). See Running Totals, for an introduction to runningtotals.4.4.4.6 Special fieldsTo display informati

Page 697 - 2012-03-14697

Form letters...19810.5Working wi

Page 698 - 2012-03-14698

Text objects are used in reports for a multitude of purposes. They are a powerful way of inserting titles;labeling summaries and other data on your re

Page 699 - 2012-03-14699

3.Position the picture object where you want it to appear in the report and left-click once.4.4.4.9 Hyperlink fieldsYou can select a report object on

Page 700 - 2012-03-14700

Note:You can also use this option to connect to SAP BusinessObjects, Web Intelligence, and Analysisworkspace documents (this is also known as report l

Page 701 - D.7 Resources

4.4.5 BLOB (Binary Large Object) fieldsA BLOB field is a database field whose data consists of Binary Large Objects—such as bitmap graphics,images, OL

Page 702 - 2012-03-14702

4.4.7 Record selectionRecord selection, the task of paring down the data to include only the data required for your report, isa crucial step in report

Page 703 - More Information

You can drill down on your data, to show the data behind individual groups, using the Drill-down cursor.See Sorting, Grouping, and Totaling.4.4.9.1 Dr

Page 704 - LocationInformation Resource

• Information to appear only on the first page of the report goes in the Report Header (RH).• Information to appear only on the last page of the repor

Page 705 - (continued)

4.Move the object frame to the Report Header section and click once to place the frame.5.With the report title selected, click Section Expert on the E

Page 706 - 2012-03-14706

Enter the desired information and click OK when finished to return to your report.4.5 Exploring reports and working with multiple reportsCrystal Repor

Page 707

and so on. Likewise, if you right-click a section node, the menu will contain the options to hide, suppress,format and so on.Note:You cannot add addit

Page 708

Adding and editing boxes...24411.5.6Expected behavio

Page 709 - 2012-03-14709

4.5.2 The WorkbenchIn the Workbench, you can create projects that contain one or more reports. Use the options on thetoolbar to add, remove, or rename

Page 710

4.5.2.2 Shortcut MenusYou can right-click any item in the projects area of the Workbench to see a shortcut menu. Many of theoptions that are available

Page 711

Errors listed in the Dependency Checker show the following information:• Error type.MeaningIconSuccess. The Dependency Checker has verifiedthat there

Page 712

• CopyUse this option to copy the message to the clipboard so that you can paste it into another application.• OptionsUse this option to open the Depe

Page 713

Click the tabs in the amalgamated explorer to change focus from one explorer type to another; thename in the title bar changes accordingly to show you

Page 714

SAP BusinessObjects Enterprise Repository5.1 What is the SAP BusinessObjects Enterprise Repository?The SAP BusinessObjects Enterprise Repository is a

Page 715 - 2012-03-14715

• Set up subfolders and subcategories for your repositoryThe "Repository Explorer "displays the contents of your SAP BusinessObjects Enterpr

Page 716

5.2.1 To open the SAP BusinessObjects Enterprise Repository1.Start Crystal Reports and open a report.2.Click the Repository Explorer button on the Sta

Page 717 - 2012-03-14717

The Repository Explorer's toolbar provides buttons with tool tips. These buttons let you add new foldersor categories, search for items, and so o

Page 718 - 2012-03-14718

• Corporate categories are created by the administrator, or other users who have been granted accessto these categories. If you have the appropriate r

Comments to this Manuals

Edwinfet 29 Feb 2024 | 09:13:09

What are the upsides of contracting skilled web optimization organizations? Expert search marketing companies utilize teams of experts focused on elevating your site's content for browsing engines. This encompasses researchingsearch phrases, adjusting on site characteristics, and managing off-domain enhancements. Moreover, these firms monitor adjustment in from Google parameters and refresh the text on your website as needed. This saves both you your time and your workers from unwanted a

KarenSkaky 17 Apr 2024 | 12:11:41

Securing the security of your home is essential in today's unsettled times. Among the best ways to safeguard your belongings and peace of mind is by committing in a trustworthy safe. Regardless of whether you're securing money, important documents, or precious heirlooms, a safe gives a protected repository solution. Regarding selecting the right safe for your house, there are several elements to consider. Above all, assess your safety requirements. Determine what items you plan to store in

Helenlal 18 Apr 2024 | 10:19:10

Arranging an open-air wedding in Phenix and anxious about the unpredictable weather? Don't let Mother Nature rain on your parade – truly! At [Event Rentals Phoenix], we provide stunning wedding tent rentals that will ensure your distinctive day goes off without an hitch. Our wedding tent rentals are created to supply both charm and functionality. Say "I do" under tha elegant canopy of one of our tents, surrounded by your loved ones and tha breathtaking scenery of Pheonix. With one assortmen

Helenlal 29 Apr 2024 | 07:23:21

In both personal and professional situations, encountering issues is unavoidable. However, mastering productive trouble-shooting techniques is key for triumphing over hurdles and accomplishing success. In this piece, we delve into the strategies and methods for efficiently addressing dilemmas. From analytical thinking to creative brainstorming, we look into various approaches that can help individuals tackle challenges with certainty and accuracy. Effective challenge solving begins wit