No Stress Tech Guide To Crystal Reports XI: For Beginners. By Dr. Indera E. Murphy



Similar documents
Chapter 4 Accessing Data

Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA

TheEducationEdge. Export Guide

Crystal Reports 2008/2011 Designer 1 Workshop. Student Guide

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

Business Intelligence Getting Started Guide

Crystal Reports Installation Guide

Search help. More on Office.com: images templates

InfoView User s Guide. BusinessObjects Enterprise XI Release 2

Introduction to Microsoft Access 2010

BusinessObjects Enterprise InfoView User's Guide

The purpose of this document is to describe how to connect Crystal Reports with BMC Remedy AR System using ODBC.

User's Guide. Using RFDBManager. For 433 MHz / 2.4 GHz RF. Version

Introduction to Microsoft Access 2013

PowerSchool Student Information System

Getting Started Guide SAGE ACCPAC INTELLIGENCE

Affiliation Security

Pastel Evolution BIC. Getting Started Guide

Crystal Reports Payroll Exercise

Using Delphi Data with Excel and Access

for Sage 100 ERP Business Insights Overview Document

SAS BI Dashboard 4.3. User's Guide. SAS Documentation

Getting Started Guide

Developing Own Crystal Reports

Crystal Access Guide HCM 9.1 All Sites

Database Applications Microsoft Access

Interact for Microsoft Office

Oracle Fusion Middleware

Results CRM 2012 User Manual

Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic, or

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

How To Create A Report On A Pc Or Macbook

Creating a System DSN for Crystal Reports to Access a Sentinel Server Database. Configuration Guide Version 1.0

Sage Abra SQL HRMS Reports. User Guide

Linking Access to SQL Server

The LSUHSC N.O. Archive

Animation in ArcMap Tutorial

Data Access Guide. BusinessObjects 11. Windows and UNIX

Blackbaud StudentInformationSystem. Reports Guide for Admissions Office

Work with the MiniBase App

Learn About Analysis, Interactive Reports, and Dashboards

TheFinancialEdge. Reports Guide for Accounts Receivable

COGNOS 8 Business Intelligence

Installation Guide Revision 1.0.

Introduction to Microsoft Access 2007

Creating Custom Crystal Reports Tutorial

ODBC Overview and Information

CONTACTS SYNCHRONIZER FOR IPAD USER GUIDE

MICROSOFT OFFICE ACCESS NEW FEATURES

Report Designer and Report Designer Add-In Installation Guide Version 1.0

COGNOS (R) 8 Business Intelligence

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

Sample- for evaluation purposes only. Advanced Crystal Reports. TeachUcomp, Inc.

Ad-hoc Reporting Report Designer

Target Analytics Guide

Microsoft Query, the helper application included with Microsoft Office, allows

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

Novell ZENworks Asset Management 7.5

Utilities ComCash

ACT! by Sage. Premium for Workgroups 2007 (9.0) Administrator s Guide to the ACT! Reader Utility

STUDENT MANUAL. Outlook 2013: Contacts, Tasks, Notes & Journal Entries. Towson University. Office of Technology Services.

Dell Statistica Statistica Enterprise Installation Instructions

INFOPATH FORMS FOR OUTLOOK, SHAREPOINT, OR THE WEB

Sage 100 ERP. Installation and System Administrator s Guide

Security Explorer 9.5. User Guide

Dell Statistica Document Management System (SDMS) Installation Instructions

Sample- for evaluation purposes only! Advanced Excel. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.

Sophos Reporting Interface Creating Reports using Crystal Reports 2008

NETWORK PRINT MONITOR User Guide

Using SAP Crystal Reports with SAP Sybase SQL Anywhere

TAMUS Terminal Server Setup BPP SQL/Alva

MODULE 2: SMARTLIST, REPORTS AND INQUIRIES

Connectivity Pack for Microsoft Guide

Copyrights, Legal Notices, Trademarks and Servicemarks

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide

Upgrading to Document Manager 2.7

NEW FEATURES ORACLE ESSBASE STUDIO

ORACLE BUSINESS INTELLIGENCE WORKSHOP

Sage ERP MAS 90 Sage ERP MAS 200 Sage ERP MAS 200 SQL. Installation and System Administrator's Guide 4MASIN450-08

Polar Help Desk 4.1. User s Guide

PC Agent Quick Start. Open the Agent. Autonomy Connected Backup. Version 8.8. Revision 0

WorldShip Import Customer Addresses

Scribe Online Integration Services (IS) Tutorial

Using the SAS Enterprise Guide (Version 4.2)

Lab - Data Backup and Recovery in Windows XP

Business Insight Report Authoring Getting Started Guide

USER MANUAL APPLICATION MONITOR. Version March 2015

Online Sharing User Manual

ODBC Driver Version 4 Manual

Version 5.0. SurfControl Web Filter for Citrix Installation Guide for Service Pack 2

SHARP Digital Signage Software Pro PN-SS05 OPERATION MANUAL

MICROSOFT ACCESS 2003 TUTORIAL

Guide to Installing BBL Crystal MIND on Windows 7

Introduction. Before you begin. Installing efax from our CD-ROM. Installing efax after downloading from the internet

Query 4. Lesson Objectives 4. Review 5. Smart Query 5. Create a Smart Query 6. Create a Smart Query Definition from an Ad-hoc Query 9

Microsoft Dynamics GP. Project Accounting Billing Guide

Informatica Cloud & Redshift Getting Started User Guide

Crystal Reporting 9.2 LSUNO & LSUSH

Voyager Reporting System (VRS) Installation Guide. Revised 5/09/06

The software shall provide the necessary tools to allow a user to create a Dashboard based on the queries created.

Transcription:

No Stress Tech Guide To Crystal Reports XI: For Beginners By Dr. Indera E. Murphy

Published By: Tolana Publishing PO Box 719 Teaneck, NJ 07666 USA Find us online at www.tolana.com Inquiries may be sent to the publisher: tolanapub@yahoo.com Our books are available online at amazon.com, www.lulu.com/tolanapub and www.barnesandnoble.com Copyright 2006 Dr. Indera E. Murphy All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, storage in an information retrieval system, or otherwise, without prior written permission from the publisher. ISBN-10 0-9773912-3-X ISBN-13 978-0-9773912-3-3 Library of Congress Control Number: 2006904826 Printed and bound in the United States Of America Notice of Liability Every effort has been made to ensure that this book contains accurate and current information. However, the publisher and author shall not be liable to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly, as a result of any information contained herein or by the computer software and hardware products described in it. Trademarks All companies and product names are trademarks or registered trademarks of their respective companies. They are used in this book in an editorial fashion only. No use of any trademark is intended to convey endorsement or other affiliation with this book. Cover designed by Mary Kramer, Milkweed Graphics, www.milkweedgraphics.com Discount On Future Books To be notified when new titles are released, send an email with the subject "New Book Release". This will entitle you to a pre-publish discount, for new titles that are released.

CREATE YOUR FIRST REPORT In addition to creating your first report, after completing the exercises in this lesson, you will be able to: Have a foundation of database terminology Understand data types Have a foundation of Crystal Reports terminology Understand the report design process Understand the sections of a report Understand the report creation options Understand the save data report options Organize reports in the Workbench Use the Group Tree Use the Design and Preview windows To pass the RDCR201 exam, you need to be familiar with and be able to: Understand database concepts Plan the layout and select content for a report Develop a report prototype Know the purpose of each section in a report Understand the design environment, including menus and the design and preview windows Connect to a data source Preview reports Save reports LESSON 2 2006 Tolana Publishing 2-1

Create Your First Report Earlier in this lesson you viewed two of the reports that come with the Xtreme sample database. The reason that you were able to view data for these reports is because the reports were saved with the data. You will learn more about saving data with reports later in this lesson. If the data is not saved with the report, you would have to create a connection to the database(s) that the report gets its data from, to view data with the report. If you want to create a new report or modify an existing report that does not have the data saved with it. Step 1: Create A Connection To The Data Source There are several types of data sources that you can use in Crystal Reports. Figure 2-20 shows the categories of connection options that are available. Table 2-5 explains some of the more popular connection options. You may see different data source options depending on the data components that were selected when you installed Crystal Reports. You will also see data source options that you have added. Figure 2-20 Available connection options illustrated If you do not see the UNIVERSES data source option shown above in Figure 2-20 and you need to use it, you can download the fix from this web page. http://support.businessobjects.com/library/kbase/articles/c2017168.asp Connection Option Lets You Connect To... Access/Excel (DAO) Access databases and Excel files. Database Files Standard PC databases including FoxPro, Paradox, Clipper and dbase. ODBC (RDO) Any ODBC complaint database including Oracle, Sybase, Access and Visual FoxPro. OLAP OLAP cubes and.car files. OLAP stands for Online Analytical Processing. CAR stands for Crystal Analysis file. OLE DB (ADO) Data link files that contain connection information that is saved in a file. Universes Business Objects query and analysis tools like Web Intelligence. XML XML files. More Data Sources Databases through ODBC drivers including ACT! 3.0, Btrieve, Informix, Oracle, Sybase and Web/IIS log files. Table 2-5 Database and data sources explained 2-24 2006 Tolana Publishing

Lesson 2 If you haven't created a connection (either for the Access/Excel (DAO) or the ODBC (RDO) connection type) for the Microsoft Access Xtreme sample database that comes with Crystal Reports, you will have to do that first. Follow the steps below to create an Access/Excel (DAO) connection. When Crystal Reports is installed, an ODBC connection for the Xtreme database should have been created. You can go to the section, Step 2: Select The Tables, if you already have a connection to the Xtreme database. How To Create An Access/Excel (DAO) Connection 1. Click on the STANDARD REPORT WIZARD link on the Start Page. 2. Click on the plus sign in front of the CREATE NEW CONNECTION Data Source option. If this is the first Access/Excel (DAO) connection that you are creating, you will see the Access/Excel (DAO) connection dialog box. 3. Click on the button at the end of the DATABASE NAME field. Navigate to the following path: C:\Program Files\Business Objects\Crystal Reports 11\Samples\en\Databases, as shown in Figure 2-21. If you changed the default folders during the installation, navigate to the destination folder that you selected in Lesson 1 in Figure 1-7. Figure 2-21 Path to the Xtreme sample database 4. Double-click on the XTREME.MDB database file. The database should have been added to the Database Name field on the dialog box as shown in Figure 2-22. Figure 2-22 Xtreme sample database added to the Connection dialog box 2006 Tolana Publishing 2-25

Create Your First Report If you want to make sure that you added the correct database, click in the Database Name field and press the END key. You will be able to see the database name shown above in Figure 2-22. If the database required logon information, you would check the SECURE LOGON option shown above in Figure 2-22. The remaining fields on the dialog box would become available for you to enter the password information. 5. Click the FINISH button. You have completed creating your first connection to a database in Crystal Reports. That wasn't so bad, was it? Step 2: Select The Tables 1. Click on the plus sign in front of the CREATE NEW CONNECTION folder, then click on the plus sign in front of the Access/Excel (DAO) folder or the ODBC folder depending on the connection type that you created for the Xtreme database. 2. Select the Xtreme database and click on the plus sign in front of the Tables folder. You should see the tables shown in Figure 2-23. These are all of the tables that are in the Xtreme database. They are the tables that are used in the sample reports that you viewed earlier in this lesson. Figure 2-23 Tables in the Xtreme database The only reason that I can think of to click the CANCEL button shown above in Figure 2-23 on a screen in the wizard is if you decide that you no longer want to create the report. You will lose all of the options that you have selected if you click the Cancel button. It is better to use the BACK button to go back and make correct changes, because you cannot reopen the wizard to make changes or pick up where you left off. 3. Click on the PRODUCT table, then click the > button. The Product table should now be in the SELECTED TABLES section, as shown in Figure 2-24. Click Next. 2-26 2006 Tolana Publishing

Lesson 2 Figure 2-24 Product table selected All of the items in the AVAILABLE FIELDS section are the fields that are in the Product table that you selected on the previous screen. View The Data In A Field The BROWSE DATA button on the Fields screen will let you view data that is in the field that you select. Being able to view the data in a field is helpful if you are not familiar with the data in a table. This button is on several dialog boxes in Crystal Reports. 1. Click on the PRODUCT NAME field, then click the BROWSE DATA button. You will see the dialog box shown in Figure 2-25. The items in the scroll box is the data in the Product Name field. Figure 2-25 Data in the Product Name field Notice that the FIELD TYPE and LENGTH are displayed at the top of the dialog box shown above in Figure 2-25. This information is helpful because you can learn more about the field and the data stored in it. 2. Click the Close button when you are finished viewing the data. You can also view the data on the Design window. By default, the first 500 distinct values in the field are displayed. This default number of values cannot be changed, but the actual values that you see can be changed, by clearing the SELECT DISTINCT DATA FOR BROWSING option on the Database tab on the Options dialog box or on the Report Options dialog box if you only want the change to be for the report that you are currently working on. [See Lesson 8, Report Options] It probably is not a good idea to turn this option off because you will see duplicate data in the Browse Data dialog box shown above in Figure 2-25. 2006 Tolana Publishing 2-27

Create Your First Report How To Find A Field The FIND FIELD button will let you search for a field in the table. You will see this button on a few dialog boxes in Crystal Reports. I'm not sure that I understand the purpose of this button because all of the fields in a table are displayed on this dialog box. It could be helpful if you don't know which table a field is in. The Find Field button will only find the first field that matches the text that you enter in the dialog box shown in Figure 2-26. You can also enter a partial field name. If the same field name is in more than one table, it does not continue searching. If you were creating a report on your own you would have already written down a list of fields and where they are located in the report design process, because you learned to do this earlier in this lesson <smile>. Figure 2-26 Enter Search Name dialog box Step 3: Select The Fields 1. Click on the Product Name field if it is not already selected and click the > button. You should see the field in the FIELDS TO DISPLAY section. 2. Add the following fields to the Fields To Display section: Size, Price (SRP) and Product Class. Figure 2-27 shows the fields that should have been added. Click Next. Figure 2-27 Fields selected You can add several fields at the same time by clicking on the first field that you want to add, then hold down the CTRL key and click on the other fields, one by one, that you want to add. When you have all of the fields selected that you want to add, click the > button. To add all of the fields in the table at the same time, click the >> button. You do not have to select any fields before clicking this button. To remove a field that you do not need on the report, click on the field in the Fields To Display section, then click the < button. 2-28 2006 Tolana Publishing

Lesson 2 To remove all of the fields from the Fields to Display section, click the << button. The order that you add the fields to the Fields to Display section is the order that they will appear on the report in the details section from left to right. If you discover that the fields are not in the order that you want them to appear on the report, click on the field in the Fields To Display section and click the UP or D OWN arrow button illustrated above in Figure 2-27 to move the field to where it should be. The order that the fields are in will change automatically if at least one field is selected to group on. Fields that are grouped on are moved to the beginning of the details section. You can rearrange the fields after the wizard has created the report. This does not happen when you create a report from scratch that has groups. Notice in Figure 2-27 above, that fields in the Fields To Display section have the table name in front of the field name. This is done to let you know which table the field is located in. This is helpful when you are using more than one table to create the report. Primary key fields in tables often have the same field name when the tables have related information. Without adding the table name, you would not know which table a field came from. Primary key fields are fields that are used to link one table to another table. Step 4: Select The Grouping Options As you learned earlier, grouping allows you to organize and sort the data. Grouping data forces all records that are related by the field that is being grouped on, to print together. Grouping data makes reports that have a lot of data easier to read. Grouping the data in a report is optional. You can group on more than one field. You can group on fields that have already been selected to print on the report, or you can select fields to group on that will not print on the report. The Accessibility report that you viewed earlier in this lesson uses the grouping option. That report is grouped on customer name and contact name. 1. Add the Product Class field to the Group By section. The default grouping option IN ASCENDING ORDER is correct. Figure 2-28 shows the grouping options that you should have selected. Click Next. Figure 2-28 Field added to the Group By section There are two options that you can select from to group the records by, as discussed below. This is how you sort the values that are in the field that is being grouped on. 2006 Tolana Publishing 2-29

Create Your First Report IN ASCENDING ORDER This is the default grouping option. The values in the field being grouped on will be sorted in A-Z order if the field is a string field. If the field being used to group on is numeric, the values will be sorted in 0-9 order. IN DESCENDING ORDER The values in the field being grouped on will be sorted in Z-A order if the field is a string field. If the field being used to group on is numeric, the values will be sorted in 9-0 order. Step 5: Select The Summary Options Creating summary fields is optional. Summary options usually involve calculated fields. By default, the wizard will create a summary field for all numeric fields that were selected to print on the report. There are 25 built-in summary functions that you can use. Many of them are shown at the bottom of Figure 2-29. The number of summary options that you see in the list, depends on the data type of the field that you are summarizing on. Not all data types can use all of the summary function options. Many of the summary functions are only for numeric fields. Figure 2-29 Summary options illustrated 1. Add the Product Class field to the SUMMARIZED FIELDS section. 2. Open the drop down list shown above in Figure 2-29 and select COUNT. Notice that the Product Class field has different options in the drop down list, then those shown above for the Product Price (SRP) field. Figure 2-30 shows the summary options that should be selected. Click Next. 2-30 2006 Tolana Publishing

Lesson 2 Figure 2-30 Summary options 3. Select the TOP 5 GROUPS option. Figure 2-31 shows the Group Sorting options that should be selected. Click Next. Figure 2-31 Group Sorting options The Top 5 Groups option will only display data for the five groups that have the highest value in the field selected in the SUMMARY VALUES field. Selecting NONE, which is the default, will display all groups. It is possible that you will not get the five groups that you think should appear on the report. This is because of the way that Crystal Reports processes data. In Lesson 7 you will create a Top 5 group report that illustrates unexpected results because a wizard was used to create the report. Step 6: Select The Chart Type Adding a chart to a report is optional. Once you select a chart type, the wizard will fill in information for the other fields on the dialog box. If you are not sure what options to select, accept the defaults, preview the report and then decide which chart options need to be modified. 1. Select the PIE CHART option. Figure 2-32 shows the chart options that should be selected. Click Next. 2006 Tolana Publishing 2-31

Create Your First Report Figure 2-32 Chart options Step 7: Select The Fields To Filter On Creating filters is optional. Filters are another way that you can narrow down the number of records that will appear on the report. You can create as many filters as you need. In this step you will create a filter for the Product Size field to only display records that have a size, that is in a specific range. 1. Add the Product Size field to the FILTER FIELDS section, then open the drop down list and select IS BETWEEN. 2. Open the next drop down list and select 16, then open the last drop down list and select XLRG. Figure 2-33 shows the filter options that should be selected. Click Next. The data in the last two drop down lists is the actual data in the field that you are creating the filter for. The filter that you just created will only display products that have a size that is between 16 and XLRG. The filter options shown in Figure 2-33 are the same as what you would select on the SELECT EXPERT tool that you will learn how to use in Lesson 5. Figure 2-33 Filter options 2-32 2006 Tolana Publishing