AZdesertdog
IS-IT--Management
Crystal 8.5 MSSQL2k
I need a TOTAL amount of time that a ticket has the Value of "Waiting". I need the time to start from when the NewValue is changed to "Waiting" and to stop any time it is moved to another value and to start up counting time again if it is moved to "Waiting" any other time for the Ticket record. Need to have a total number of minutes for each ticket.
Data example:
Ticket OldValue NewValue ModifyDate NEED
GH1> 12345
D> NULL Open 1/1/05 07:00
D> Open Waiting 1/2/05 10:00
D> Waiting Open 1/3/05 10:00 1440mins
D> Open Assigned 1/4/05 08:00
D> Assigned Waiting 1/5/05 09:00
D> Waiting Resolved 1/5/05 11:00 1560mins
Total amout of "Waiting" time--->>> 3000mins
I dont' care about the running totals, just showing them for clarity. Just need the total number. Any help appreciated. Thanks!
-AZDesertDog
I need a TOTAL amount of time that a ticket has the Value of "Waiting". I need the time to start from when the NewValue is changed to "Waiting" and to stop any time it is moved to another value and to start up counting time again if it is moved to "Waiting" any other time for the Ticket record. Need to have a total number of minutes for each ticket.
Data example:
Ticket OldValue NewValue ModifyDate NEED
GH1> 12345
D> NULL Open 1/1/05 07:00
D> Open Waiting 1/2/05 10:00
D> Waiting Open 1/3/05 10:00 1440mins
D> Open Assigned 1/4/05 08:00
D> Assigned Waiting 1/5/05 09:00
D> Waiting Resolved 1/5/05 11:00 1560mins
Total amout of "Waiting" time--->>> 3000mins
I dont' care about the running totals, just showing them for clarity. Just need the total number. Any help appreciated. Thanks!
-AZDesertDog