Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Speeding up reports

Speeding up reports

Speeding up reports

I have a program which contains archive information in 4 tables.  This information can go back some years.  These tables are linked together via indexes, set relation, and filtering (mainly date ranges).  Using these tables different reports are available.  Problem I have they can take some time to run.  I believe this to be mainly due to the amount of data stored and due to the fact that the reports are usually completed over the network on a slave machine.  Is there some way I can spead these up??

I've never used SQL.  This this used to speed things up???  Sorry for my ignorance.

RE: Speeding up reports

By filtering, do you mean you are using: SET FILTER TO Expression ?

Filtering in this way is known to be slow. You can use indexes to filter instead.

Creating a temporary (SQL) cursor to show your data could be an option. If it is faster, I wouldn't know, you'll have to test that (depending on your machine, network speed etc.).
The advantage is that you can filter out data that is not necessary and you can store all info in one cursor, without having to set relations etc.

Good luck,


Weedz (Wietze Veld)
My private project:www.crowncap.demon.nl\info\crwnbase
CrownBase source code can be downloaded !!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close