Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

First run of report (after reboot) from Delphi app is slow

Status
Not open for further replies.

bmarks

IS-IT--Management
Sep 25, 2001
85
CA
Environment:
Application written in Delphi
Crystal 9
Datasource is Interbase stored procedure

The Delphi application passes parameters to the report, which passes them to the InterBase stored procedure.

After a reboot of the PC, the first time the user chooses this report in the Delphi app, it takes over 3 minutes to run. If they run it again (with same or different parameters), it takes 10 to 15 seconds to run. If application is exited and restarted, it still runs in less than 15 secs. However, if the PC is rebooted, it will then take over 3 minutes again.

Anyone have any ideas why this would happen and if there is any way to fix it?

Thanks
 
I found the issue. Under File, Options the following were checked in the Database tab:

- verify on first refresh
- verify stored procedure on first refresh
- verify when database driver upgraded

I had checked these during troubleshooting.

I unchecked these and now the report runs quickly on the first run after reboot.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top