I am building a small database to track overtime claims - I am only saving userid, date and start / stop times. The dollar amounts I am calculating at the time the report is generated so that no personal financial information is stored which eliminates any security concerns. I am running a make table query as the source for the report as I want running totals which cannot be calculated in a report - so I perform the calculations in the query.
Two of the columns in the query are calculated with a function which gets the amount of time and multiplies it by the modifier (which is looked up from another table to hold static information). All the calculations are correct, but the running of the query is very slow - to return a one page report with 7 lines takes about 10 seconds. If I change the query to a select query, I can watch it build line by line.
Any suggestions would be greatly appreciated.
Two of the columns in the query are calculated with a function which gets the amount of time and multiplies it by the modifier (which is looked up from another table to hold static information). All the calculations are correct, but the running of the query is very slow - to return a one page report with 7 lines takes about 10 seconds. If I change the query to a select query, I can watch it build line by line.
Any suggestions would be greatly appreciated.