System and Version:
Windows 7 Professional 64bit
MS Office Professional 2010 version 14.0.5128.5000 (32-bit)
File format Access 2007
4Gb RAM
Background:
I have a report that is based off of a totals query that is based off of a query that consolidates a few queries that pull information from various tables while performing calculations on them. There are DCount, DMax, DLookup, IIF, Max, Right, and Left functions involved. The report Sorts on a field, Groups on another field, Sorts on another field, then Sorts on one more field. The table that most of the number crunching is done on is a linked table from an SQL db and currently has about 30,300 records with 70-80 records added every day. The report takes a great deal of time to run, which I'm ok with.
Problem:
About half the time, the report runs fine. The other half of the time it doesn't finish running, but begins to loop after a few lines, starting over and running until about the same point (not exactly the same point, though) and starting over again. Every time it does this, the text at the very top of the Access window reads "Not Responding" for a split second before the report restarts. Sometimes, if I leave it long enough, it will finally finish running, but usually it will cycle indefinitely. If I close Access and reopen it, the report usually runs fine until I run it a couple of times, then it starts acting up again.
Request:
Does anyone have any idea what could be causing this problem? I can provide formulas and sample data if needed.
- Zohar S.E.