S
Sean G.
Hello,
I have a ranking query which is based off of two other
queries. Inside I rank employee hours by overall then by
staff level. Everything works except for the fact that it
is really slow, even sorting the query takes a few
minutes... Does anybody have any suggestions? Here is one
of the lines of code:
StfLvlHoursrank: (Select Count(*) from
qry_Employee_AllHours_Sums where [TotalHours] >
[AllHoursrank].[TotalHours] and
[StaffLevel]=[AllHoursrank].[StaffLevel])+1
I'm not sure if I should consildate queries, but I have had
more dependent queries than this before.
Any help would be greatly appreciated
I have a ranking query which is based off of two other
queries. Inside I rank employee hours by overall then by
staff level. Everything works except for the fact that it
is really slow, even sorting the query takes a few
minutes... Does anybody have any suggestions? Here is one
of the lines of code:
StfLvlHoursrank: (Select Count(*) from
qry_Employee_AllHours_Sums where [TotalHours] >
[AllHoursrank].[TotalHours] and
[StaffLevel]=[AllHoursrank].[StaffLevel])+1
I'm not sure if I should consildate queries, but I have had
more dependent queries than this before.
Any help would be greatly appreciated