0

accessing payroll ledger entry table = slow

I am a financial guy but was asked to optimize a payroll jet report.

I have attached (modified) it for you to see.

First thing it does is use Jet to give you a list of employees.
Then it lists all the payroll control codes (hard coded) as columns. 33 of them.
Each column uses an NL Sum to get the result it needs. I can see why this report takes forever (they say it takes over a day to run), because if they have 150 employees, each employee record hits the PLE table 33 times. The payroll ledger entry table is the biggest …..

Anyone have any ideas how to optimize it? Let me know, thanks !!!!

3 comments

Please sign in to leave a comment.