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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I know when the report has finished prcessing the data ?

Status
Not open for further replies.

balasionut

Programmer
Feb 24, 2004
1
RO
The report I use is very complex and every time I load the report document in the CrystalReportViewer, the viewer wait for a long period of time to load the data (I think the processing happens in other thread not in the curent thread). My wish is that the viewer should show a waitcursor during the processing time, and I don't know how to make that.
I've searched for a event that could tell me when the proceesing finished, but with no results.
If you have any ideea about my problem please help. Thank you
 
hi
Usualy if a report is complex it's takes time to generate.
You can create views to filter the information needed to run your report. If your report is static meanning the data does not change, you can save it with data.
check your limks also sometime this cause a report to take time.
U can see your precessinf time by the icon that is working
in the top rigth corner.
you can have a load time to show how long it takes to run your report.

Here is the code you need for the load time:

get the Datediff reference, this is what I was getting at:
{@DataTime}//Placed in your report Header
DateTime

{@PrintTime}//Placed in Report Footer

{@LoadTime}//Placed in Report Footer B(or after @PrintTime})
DateDiff('s',DateTime(CurrentDate,{@DataTime}),DateTime(CurrentDate,{@PrintTime}))

hope this helps

cheers




pgtek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top