DanaHallenbeck
IS-IT--Management
I emailed this question to Ken Hamady yesterday and he asked that I post it here. I still have a question about this that I will add at the bottom.
****original question****
I am new to the Crystal Reports world, and am trying to run a report on an IIS log file. I have the basics of the report down, but i need to calculate how many hours individuals are working on the internet. We decided that we could be fairly accurate by checking to see if the time stamp from one transtaction is within 5 minutes of the next (for a givin person) and then adding the difference between the 2 into a counter. This counter would then show a sum when the difference was greater than 5 minutes, and the process would begin again and end with a total sum when the user name changes. Please let me know if this makes any sense and if you have any idea where I can go from here. Any help is appreciated.
****Response****
You need to create a running total using the Next or Previous functions.
There is a FAQ that describes the three types of running totals.
You could use the automatic running totals if you have V7 or later.
Otherwise you will probably need the "3 formula" technique
Ken
****New Question****
Where can I find this FAQ, and will these running totals let me add the difference between two time values?
Thanks for your help Ken. And thanks to anyone else in advance for any help you can offer.
Dana
[sig][/sig]
****original question****
I am new to the Crystal Reports world, and am trying to run a report on an IIS log file. I have the basics of the report down, but i need to calculate how many hours individuals are working on the internet. We decided that we could be fairly accurate by checking to see if the time stamp from one transtaction is within 5 minutes of the next (for a givin person) and then adding the difference between the 2 into a counter. This counter would then show a sum when the difference was greater than 5 minutes, and the process would begin again and end with a total sum when the user name changes. Please let me know if this makes any sense and if you have any idea where I can go from here. Any help is appreciated.
****Response****
You need to create a running total using the Next or Previous functions.
There is a FAQ that describes the three types of running totals.
You could use the automatic running totals if you have V7 or later.
Otherwise you will probably need the "3 formula" technique
Ken
****New Question****
Where can I find this FAQ, and will these running totals let me add the difference between two time values?
Thanks for your help Ken. And thanks to anyone else in advance for any help you can offer.
Dana
[sig][/sig]