Step 7: Creating Conditions For Filtering; Step 8: Modifying The Footer; Step 9: Using The Report In Conflictsolver - Novell ADMINSTUDIO 9.5 User Manual

Hide thumbs Also See for ADMINSTUDIO 9.5:
Table of Contents

Advertisement

Chapter 13: Identifying and Resolving Application Conflicts Using ConflictSolver
Generating Reports

Step 7: Creating Conditions for Filtering

Task:
To create the condition to filter the records based on the input parameters (ProductName,
ProductVersion, and INIFileName):
1.
From the Report menu, point to Edit Selection Formula and select Record.
2.
Type the following text in the Filter Criteria text box:
{IniFile.FileName} like {?INIFileName}andif {?ProductName} = '*' then TRUEelse
{Package.ProductName} = {?ProductName}andif {?ProductVersion} = '*' then TRUEelse
{Package.ProductVersion} = {?ProductVersion}
Crystal Reports uses the above selection formula while sending the SQL query to the back end database
server. The above formula makes the WHERE clause in the SELECT database query, which is internally sent
by Crystal Reports while viewing the report. The above formula also filters the Application Catalog records
based on the IniFile.FileName, and if ProductName/ProductVersion are passed they are used, else only the
IniFile.FileName is used in the selection criteria.
3.
Click Save from the toolbar.

Step 8: Modifying the Footer

Task:
To add the date/time and page number to the report footer:
1.
From the Insert menu, select Special Field.
2.
Select Page N of M and drop it on the report within the Report Footer section.
3.
Repeat for Print Date and Print Time.
4.
Save the report.
5.
Close Crystal Reports and start ConflictSolver.

Step 9: Using the Report in ConflictSolver

The Reports menu item in ConflictSolver is dynamically generated based on the .rpt report files present in the
Reports folder. Start ConflictSolver, open the sample Application Catalog, click on Options from the Tools menu,
and ensure that the above report is saved in the Reports folder as specified in the General tab.
If you select INIFile Search Report from the Reports menu, you can access the report you just created.
1132
ADS-0950-UG00
AdminStudio 9.5 User Guide

Advertisement

Table of Contents
loading

Table of Contents