Speed up a report?

  • Thread starter Thread starter Scott Loupin
  • Start date Start date
S

Scott Loupin

I've a report that is fed off several dlookup queries and takes several
minutes to generate. When I hit Print, it again takes several minutes to
print. Any way to speed up the process?

Thanks.
 
Scott said:
I've a report that is fed off several dlookup queries and takes
several minutes to generate. When I hit Print, it again takes
several minutes to print. Any way to speed up the process?

Thanks.

As a general rule the domain functions (like DLookup()) should be avoided in
sitiuations where they will be called repeatedly such as in a query or
report. Where are you using the DLookups()? If a few are used in
Header/Footer sections it might not be too bad, but if they are being called
"per row" there is a good chance that this is your problem.

One can usually accomplish what is needed without using DLookup(). If you
post the structure of your report you might get some alternative ideas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top