Hello all. I'm using Crystal 2008 and have a new report which requires expertise.
I have a record set which includes a chain of custody for a piece of property. Here's the scenario: A piece of property is in holding and checked out to an examiner. When checked out, a chain of custody event is created. The chain of custody table allows me to query the who, what, where, when, and why the item left it's original location. So I have built a report which displays all events that were checked out to the Medical Examiner's Office. No date range at this point I just want to see everything that is out.
Here's the complicated part. A similar event is created for chain of custody if the property is checked back in. I need to be able to exclude any pieces of property that were check back in. So...show me all records that were checked out to the Medical Examiner, but never returned.
This is complicated to me because each piece of property is tracked via a control number in chain of custody. One control number can have several events associated with it and they might be for all kinds of different things.
Like I said above, I've set my filters for records that equal Medical Examiner, and event = 'O' for out:
{pecust.ccinout} = "O" and
{pecust.releasedto} in ["ME OFFICE", "OFFICE, MEDICAL EXAMINER"]
How should I go about reviewing records within the same control group and excluding them if they were received back?
I have attached a link to the form used to enter Chain of Custody events for clarification.
I have a record set which includes a chain of custody for a piece of property. Here's the scenario: A piece of property is in holding and checked out to an examiner. When checked out, a chain of custody event is created. The chain of custody table allows me to query the who, what, where, when, and why the item left it's original location. So I have built a report which displays all events that were checked out to the Medical Examiner's Office. No date range at this point I just want to see everything that is out.
Here's the complicated part. A similar event is created for chain of custody if the property is checked back in. I need to be able to exclude any pieces of property that were check back in. So...show me all records that were checked out to the Medical Examiner, but never returned.
This is complicated to me because each piece of property is tracked via a control number in chain of custody. One control number can have several events associated with it and they might be for all kinds of different things.
Like I said above, I've set my filters for records that equal Medical Examiner, and event = 'O' for out:
{pecust.ccinout} = "O" and
{pecust.releasedto} in ["ME OFFICE", "OFFICE, MEDICAL EXAMINER"]
How should I go about reviewing records within the same control group and excluding them if they were received back?
I have attached a link to the form used to enter Chain of Custody events for clarification.