I've been working on a report that takes data in the following format:
Account Number DateTime Worktype Queue Status USERID
The database tracks everything that's done to an item as it gets routed through the company until it's finally resolved. So we may have:
10001 11/11/05 12:00:00PM NEWACCT NEW RESOLVED EEEEE
10001 11/10/05 04:00:00AM NEWACCT NEW PROCESSED DDDDDD
10001 11/10/05 03:45:00AM
10001 11/10/05 03:33:00AM NEWACCT NEW RESEARCH CCCCC
10001 11/09/05 17:23:00PM NEWACCT NEW RESEARCH CCCCC
10001 11/09/05 17:20:00PM NEWACCT NEW NEW AAAAA
We're trying to track any item that went from NEWACCT NEW RESEARCH to NEWACCT NEW PROCESSED and show it on the report. By putting the same table on the report twice (alias) and using the first one as the beginning status and the second as the ending status we're able to show the information, but it shows too much. In the case above it would show two items that went from RESEARCH to PROCESSED. The line without a worktype, queue or status is another problem as it's there when notes are put on the item. It also prevents us from using the previous or next command.
Any suggestions on how to get crystal to only show the change in status once? I'm using crystal 8.5 and using a selection similar to the following:
Begin.Key_Date = End.Key_Date and
Begin.Key_Time = End.Key_Time and
Begin.Key_Millisec = End.Key_Millisec and
Begin.Worktype = "NEWACCT" and
Begin.Queue = "NEW" and
Begin.Status = "RESEARCH" and
End.Status = "PROCESSED" and
Begin.Key_Date > '2005-10-25' and
Begin.Key_Date < '2005-10-27' and
End.DateTime >= Begin.DateTime
Thank you in advance!
Account Number DateTime Worktype Queue Status USERID
The database tracks everything that's done to an item as it gets routed through the company until it's finally resolved. So we may have:
10001 11/11/05 12:00:00PM NEWACCT NEW RESOLVED EEEEE
10001 11/10/05 04:00:00AM NEWACCT NEW PROCESSED DDDDDD
10001 11/10/05 03:45:00AM
10001 11/10/05 03:33:00AM NEWACCT NEW RESEARCH CCCCC
10001 11/09/05 17:23:00PM NEWACCT NEW RESEARCH CCCCC
10001 11/09/05 17:20:00PM NEWACCT NEW NEW AAAAA
We're trying to track any item that went from NEWACCT NEW RESEARCH to NEWACCT NEW PROCESSED and show it on the report. By putting the same table on the report twice (alias) and using the first one as the beginning status and the second as the ending status we're able to show the information, but it shows too much. In the case above it would show two items that went from RESEARCH to PROCESSED. The line without a worktype, queue or status is another problem as it's there when notes are put on the item. It also prevents us from using the previous or next command.
Any suggestions on how to get crystal to only show the change in status once? I'm using crystal 8.5 and using a selection similar to the following:
Begin.Key_Date = End.Key_Date and
Begin.Key_Time = End.Key_Time and
Begin.Key_Millisec = End.Key_Millisec and
Begin.Worktype = "NEWACCT" and
Begin.Queue = "NEW" and
Begin.Status = "RESEARCH" and
End.Status = "PROCESSED" and
Begin.Key_Date > '2005-10-25' and
Begin.Key_Date < '2005-10-27' and
End.DateTime >= Begin.DateTime
Thank you in advance!