Chapter 13: Identifying and Resolving Application Conflicts Using ConflictSolver
Generating Reports
1132
ADS-0950-UG00
AdminStudio 9.5 User Guide
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.
Summary of Contents for ADMINSTUDIO 9.5
Page 1: ...AdminStudio 9 5 User Guide Version 9 5...
Page 50: ...Contents 50 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 52: ...52 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 156: ...156 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 440: ...440 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1090: ...1090 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1426: ...1426 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1686: ...1686 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1794: ...Chapter 24 AdminStudio Public API Reference 1794 ADS 0950 UG00 AdminStudio 9 5 User Guide...
Page 1842: ...Index 1842 ADS 0950 UG00 AdminStudio 9 5 User Guide...