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

Cross-Tab converting field from seconds to hh:mm:ss

Status
Not open for further replies.

dollarbill

Programmer
Aug 30, 2002
13
US
Following is an example of my cross-tab:
Week 1 Week 2 Week 3
Doe, John
incoming 45 57 49
duration 180920 176543 169233
outgoing 11 22 33
Smith, Jim
incoming 47 59 51
duration 180922 176545 169235
outgoing 13 24 37
Jones, Bill
incoming 49 61 53
duration 180924 176547 169237
outgoing 15 26 39

My problem is that the duration is shown in seconds and we need to convert it to hours, minutes, seconds. We have a function that will perform this for us, however in the cross-tab it is a sum for the week. So if we convert the duration before it is summed, then we get an incorrect sum, because of the time element. And we cannot find a way to use our function after the sum has been performed. Any help would be appreciated.
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top