S
Sandy
I am looking for ideas to help me speed up a report in my database. Here's
the scenerio:
I have a main report based on tblEmployees, where the report opens and
filters based on the EmployeeID or CoachID where EmployeeID or CoachID
matches the ID selected on the form used to access the report (the report is
for employee performance and the coach may pull 1 employee or his/her entire
team based on what cmdbttn they select).
The main report has a sub report where the master/child fields are joined on
EmployeeID. The main report shows the Employee Name, ID, Department, and
Coach Name. The sub report shows multiple records employee job performance,
in column layout.
The sub report is based on the following:
• 6 queries that roll up to a union query (we need 6 queries to make all
fields the same names and in the same order for the union)
• The union query is then joined to a table in the rptQuery.
The report pulls fine if there is only 1 user accessing the report, however,
once you add multiple users pulling the report at the same time the report
takes anywhere from 2 to 5 minutes to pull! It is the longest when the user
is trying to pull the report by entire team rather than by 1 employee.
Any suggestions are GREATLY appreciated. I have tried several things but the
only thing that has worked to increase speed is to base the report on a table
made by the union query. However, this creates redundant data in the database
and I do not like that one bit :-(
Thanks for your help!
Skaar
the scenerio:
I have a main report based on tblEmployees, where the report opens and
filters based on the EmployeeID or CoachID where EmployeeID or CoachID
matches the ID selected on the form used to access the report (the report is
for employee performance and the coach may pull 1 employee or his/her entire
team based on what cmdbttn they select).
The main report has a sub report where the master/child fields are joined on
EmployeeID. The main report shows the Employee Name, ID, Department, and
Coach Name. The sub report shows multiple records employee job performance,
in column layout.
The sub report is based on the following:
• 6 queries that roll up to a union query (we need 6 queries to make all
fields the same names and in the same order for the union)
• The union query is then joined to a table in the rptQuery.
The report pulls fine if there is only 1 user accessing the report, however,
once you add multiple users pulling the report at the same time the report
takes anywhere from 2 to 5 minutes to pull! It is the longest when the user
is trying to pull the report by entire team rather than by 1 employee.
Any suggestions are GREATLY appreciated. I have tried several things but the
only thing that has worked to increase speed is to base the report on a table
made by the union query. However, this creates redundant data in the database
and I do not like that one bit :-(
Thanks for your help!
Skaar