LoriWillard
IS-IT--Management
I am using Crystal Reports 8.5. We have a custom written .NET application that prints the reports thru a Enterprise version 8 web server.
My data source is SQL server 2000. My report is based on a view that is used in multiple reports. It has 3.5 million records in it if you open it with no filters.
My report has 2 parameters - {?PeriodEnd} and {?Employees}. {?Employees} parameter in the report is set to allow single value. Our custom front end allows us to pass multiple parameters for a field (like Employees).
The report selection criteria looks like this:
{Dept} = "123" and
{PeriodEndDate} = {?PeriodEnd} and
{EmpNo} IN {?Employees}
The report this way takes 10 minutes to run. If we change the {EmpNo} IN {?Employees} line to be {EmpNo}="1234" then it runs in about 10 seconds.
Does anyone have any suggestions for improving performance?
Thanks
My data source is SQL server 2000. My report is based on a view that is used in multiple reports. It has 3.5 million records in it if you open it with no filters.
My report has 2 parameters - {?PeriodEnd} and {?Employees}. {?Employees} parameter in the report is set to allow single value. Our custom front end allows us to pass multiple parameters for a field (like Employees).
The report selection criteria looks like this:
{Dept} = "123" and
{PeriodEndDate} = {?PeriodEnd} and
{EmpNo} IN {?Employees}
The report this way takes 10 minutes to run. If we change the {EmpNo} IN {?Employees} line to be {EmpNo}="1234" then it runs in about 10 seconds.
Does anyone have any suggestions for improving performance?
Thanks