Currently it is is calculating on the same line
where it needs to be Calculating first line to second line, i.e., ( Doe, George ) 9:26 to ( Does, Lacinda ) 10:08 for a total of 42 Minutes.
The first line ( Doe, George ) really should have 0 minutes since there is no Previous Case Stop for it to use to calculate it.
My Current Formula is as follows, though it is incorrect:
if isNull ({CATH_CASE_EVENT.CASE_END}) then 0 else
if isNull ({CATH.PATIENT_ON_TABLE}) then 0 else
DateDiff("n", {CATH.PATIENT_ON_TABLE}, {CATH_CASE_EVENT.CASE_END})
I'm trying to get Case Stop ( CATH_CASE_EVENT.CASE_END ) DATE TIME FIELD
To
On Table (CATH.PATIENT_ON_TABLE) DATETIME FIELD
Would GREATLY appreciate any help I can get on this one....
Thanks
Steve
Edited by caddy - 07 Jun 2010 at 1:35am