+ All Categories
Home > Documents > Crystal Reports Setup

Crystal Reports Setup

Date post: 09-Apr-2018
Category:
Upload: donbaba
View: 221 times
Download: 0 times
Share this document with a friend
18
 Crystal Reports Setup 
Transcript
Page 1: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 1/17

 

Crystal Reports

Setup 

Page 2: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 2/17

 Table of Contents 2

Table of Contents

Crystal Reports Setup ......................................................................................................... 3 

Database Connection .................................................................................................... 3 Adding Parameters (Case Specific) ............................................................................... 5 

Adding Parameters (Not Case Specific) ........................................................................ 8 

Client Profiles Setup .......................................................................................................... 11 

File Locations ............................................................................................................... 11 

Crystal Reports Setup .................................................................................................. 12 

Adding Parameters (Not Case Specific) ...................................................................... 14 

Running Crystal Reports Outside of a Case ................................................................ 16 Running Crystal Reports Inside of a Case ................................................................... 17 

Page 3: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 3/17

 Crystal Reports Setup

Database Connection

3

Crystal Reports Setup

Database Connection

Please note: This section gives an overview of steps necessary to create a Crystal report that will link with Client Profiles. Please refer to the Crystal Reports help section for more detailed instructions on creating reports.

To add tables to a report you will need to select the Make New Connection option under the OLE DB Sectionand choose the Add button.

Next, choose the Microsoft OLE DB Provider for SQL Server and choose Next.

Page 4: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 4/17

 Crystal Reports Setup

Database Connection

4

Enter the name of the SQL Server in the server name field and then enter a valid login into the Client Profilesserver for the User name and Password fields.

Next, enter CPSQL for the database on the server field.

Choose to Test the connection and select okay.

You will then have a list of tables and views from the database to select from. Select the appropriate tablesand then go through the report creation process. Please note: A database diagram of all of the available tables is available by contacting the Client Profiles’ technical support department.

Page 5: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 5/17

 Crystal Reports Setup

Adding Parameters (Case Specific)

5

Adding Parameters (Case Specific)

Please note: Case Specific reports are reports that will pull information for a single case and will be run from the Summary Screen of the case.

Go to the Field Explorer box and choose to Add a New Parameter.

Enter Case_sk for the name of the Parameter and use the same name for the Prompting text.

Enter Number for the Value Type.

Select the Set default values button. 

Page 6: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 6/17

 Crystal Reports Setup

Adding Parameters (Case Specific)

6

Select cases for the Browse table field.

Select case_sk for the Browse field.

Select OK.

Select OK again.

Page 7: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 7/17

 Crystal Reports Setup

Adding Parameters (Case Specific)

7

Select the Select Expert from the Reports menu.

Select New.

Select the case_sk field from the cases table.

Choose is equal to from the drop down list.

Choose the parameter {?case_sk}.

Page 8: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 8/17

 Crystal Reports Setup

Adding Parameters (Not Case Specific)

8

Adding Parameters (Not Case Specific)Please note: Parameters in Crystal Reports can be used in conjunction with search tools in Client Profiles to easily retrieve desired results.

Go to the Field Explorer box and choose to Add a New Parameter.

Enter the name for the Parameter and use the same name for the Prompting text. Please note: The nameused here will be used when linking the report to Client Profiles.

Enter the appropriate selection for the Value Type based on the entries that you are filtering.

Place a check in the Allow multiple values checkbox.

Select the Default Values button.

Page 9: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 9/17

 Crystal Reports Setup

Adding Parameters (Not Case Specific)

9

Select the appropriate table in the Browse table field.

Select the appropriate column for the Browse field.

Select OK.

Select OK again.

Page 10: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 10/17

 Crystal Reports Setup

Adding Parameters (Not Case Specific)

10

Select the Select Expert from the Reports menu.

Select New.

Select the desired column from the appropriate table.

Choose is equal to from the drop down list.

Choose the parameter that was setup previously.

Page 11: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 11/17

 Client Profiles Setup

File Locations

11

Client Profiles Setup

File LocationsFrom within Client Profiles go to Administration\System Setup\File Locations.

The Reports entry should be set to something like \\Server\CPShare\CPWin\Reports where Server is thename of the server where the CPShare directory is stored.

Next, either through My Computer or Windows Explorer, verify that the Reports directory exists. If not createa new folder under the CPWin directory named Reports. Also, you will need to add two folders inside of theReports directory. (CM for Case Management reports and ACCT for Financial Management reports)

Page 12: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 12/17

 Client Profiles Setup

Crystal Reports Setup

12

Crystal Reports Setup

Go into Administration\System Setup\Crystal Reports Setup.

To add a report, first save the report created under the CPWin\Reports directory making sure the option inCrystal Reports for Save Data with Report is not checked. Please note for Case Management Reports save the file under CPWin\Reports\CM and for Financial Management Reports save the file under CPWin\Reports\ACCT.

Within each of these sections will be categories that reports can be classified under. Please note: other categories can be added by going under Administration\System Setup\Pick Lists and adding new entries under the RPTCM - Case Mgmt. Report Categories and RPTFM - Fin. Mgmt. Report Categories.

Select a category and choose the New button.

Page 13: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 13/17

 Client Profiles Setup

Crystal Reports Setup

13

Report ID: This field is generated automatically by Client Profiles after a new report is added.

Crystal Reports Version: Select the version of Crystal Reports used to write the report.

Report Type: Select either Case Management or Financial Management.

Maincategory: Select the appropriate category from either the Case Management or Financial Management

sections.

Filename: Enter the file name of the report.

Full Path: Once the file is saved under the Reports directory and the file name is entered you will see thegreen light icon and the full path to the report file. Please note: If you see a red light icon and a message that the report does not exist verify that the file name is entered correctly and that the file has been saved in the proper directory. 

Report Description: Enter a description of the report.

Default Title: Enter the title of the report.

Report is for an Individual Case: This box is used for reports that pull information for only one case and willbe run from the Summary screen of the case.

Parameters to be passed into the report: Please note: Please see Client Profiles\Adding Parameters below for instructions for adding parameters. 

Page 14: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 14/17

 Client Profiles Setup

Adding Parameters (Not Case Specific)

14

Adding Parameters (Not Case Specific)

There are different parameters that can be added to a report to filter down the list of entries that the reportreturns. Client Profiles provides different search tools that can be used in conjunction with the CrystalReport parameters.

To add a parameter select the Add Parameter button and enter the name of the parameter as it is setup onthe Crystal Report.

Next, add one of the following functions which can be used to perform the lookups:

uf_lookup_user(Multi,wintitle)This lookup function will allow the user to select one or many of the active firm users.

Parameters:Multi - select one or many..'S' or 'M'wintitle - window title for the user selection window

Example Call: uf_lookup_user(S,Select Managing Attorney)

uf_lookup_cardfile(Multi,wintitle)

This lookup function will allow the user to select one or many cardfile entries.

Parameters:Multi - select one or many..'S' or 'M'wintitle - window title for the cardfile selection window

Example Call: uf_lookup_cardfile(S,Select Expert Witness)

uf_lookup_group_item(groupcode,Multi,wintitle)

This lookup function will allow the user to select one or many cardfile entries.

Parameters:Groupcode - Default group code selection..can be left blankMulti - select one or many..'S' or 'M'wintitle - window title for the cardfile selection window

Example Call: uf_lookup_group_item(CTYPE,S,Select Case Type)

uf_lookup_case(Multi)

This lookup function will allow the user to use the standard case search to select cases.

Parameters:

Multi - select one or many..'S' or 'M'Example Call: uf_lookup_case(M)

Page 15: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 15/17

 Client Profiles Setup

Adding Parameters (Not Case Specific)

15

uf_lookup_lawtype(Multi,includeQuotes)

This lookup function will allow the user to select lawtypes.

Parameters:Multi - select one or many..'S' or 'M'IncludeQuotes - 'Y' or 'N' - Optional - determines if single quotes are put around each value

Example Call: uf_lookup_lawtype(M,N)

uf_lookup_office(Multi)

This lookup function will allow the user to select from a list of the firm offices.

Parameters:Multi - select one or many..'S' or 'M'

Example Call: uf_lookup_lawtype(M)

uf_get_string(wintitle)

This lookup function will allow the user to enter a string.

Parameters:wintitle - window title for the string entry window

Example Call: uf_get_string(Enter input string)

uf_get_date(wintitle)

This lookup function will allow the user to enter a date

Parameters:

wintitle - window title for the date selection window

Example Call: uf_get_date(Enter starting date)

Page 16: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 16/17

 Client Profiles Setup

Running Crystal Reports Outside of a Case

16

Running Crystal Reports Outside of a Case

To run the reports go to Administration\Reports\Crystal Reports.

Select the Report from the list and choose View Report.

Page 17: Crystal Reports Setup

8/8/2019 Crystal Reports Setup

http://slidepdf.com/reader/full/crystal-reports-setup 17/17

 Client Profiles Setup

Running Crystal Reports Inside of a Case

17

Running Crystal Reports Inside of a Case

From the Summary Screen of the case select the Crystal Reports icon.

Select the correct report and choose View Report. Please note: Only reports that have “Report is for an Individual Case” checked in the setup will show on this list.


Recommended