Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timing the Report Generation VFP 8
Message
From
08/09/2004 19:04:12
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00940450
Message ID:
00940456
Views:
22
You can have PRINT WHEN function on the last object on the report that is created, typically the sum, which sets a variable equal to time(). This will give you the ending time.

>I have a need to time how long it takes to generate a report. This report is called with a report form command with Preview. Initially, I captured the starting time in the BeforeTableOpen event of the form, and calculated the number of seconds in the AfterCloseTables event. This works with the exception ending time is when the user clicks the print or close button the report preview toolbar. This would not accuratly reflect the "system" time to generate the report. I could not find another event to put in in the report.
>
>Thanks for pointers and help
>
>Kirk
Previous
Reply
Map
View

Click here to load this message in the networking platform