Bit of an update, I couldnt find a way in Crystal to produce the results I was hoping for, the closest I could come up with was this
if ({HPD_HelpDesk.Assign_Time}) > ({HPD_HelpDesk.Resolved_Time}) then "Re-Opened"
Its very crude and whilst does sort of 'count' calls that were at a status of Assigned after a resolved entry, it would miss a large number.
So after talking to some of our developers I wrote this and added it as the workflow behind a selection field in Remedy (Done in SQL)
SELECT case_id FROM hpd_helpdeskhistory h1
WHERE H1.CASE_STATUS = 5
AND EXISTS
(
SELECT 1 FROM hpd_helpdeskhistory h2
WHERE h1.CASE_ID = h2.CASE_ID
AND h2.CASE_STATUS NOT IN (4,5)
AND h2.REQUEST_ID > h1.REQUEST_ID
)
Can anyone see a way of making the SQL query a Crystal rpt
Edited by skyliner34 - 31 Oct 2011 at 3:03am