G
Guest
Okay, I'm still having trouble. I thought this would work:
Status 10 Time: IIf ([Rec’d Back]Is Null, (DateDiff("d",[Returned],Date())), (DateDiff(“dâ€,[Returned],[Rec’d Back])))
Can you not use an IIf expression this way? I'm trying to figure the age one set of cases whose "aging" has been interrupted by further investigation (day-clock stops), other cases that have been interrupted and then returned (they have a gap).
The above equation figures the stopped cases nicely, but it also figures the cases with a gap the same way, i.e, the returned date is the same as today's date even if there's an earlier returned date entered.
Status 10 Time: IIf ([Rec’d Back]Is Null, (DateDiff("d",[Returned],Date())), (DateDiff(“dâ€,[Returned],[Rec’d Back])))
Can you not use an IIf expression this way? I'm trying to figure the age one set of cases whose "aging" has been interrupted by further investigation (day-clock stops), other cases that have been interrupted and then returned (they have a gap).
The above equation figures the stopped cases nicely, but it also figures the cases with a gap the same way, i.e, the returned date is the same as today's date even if there's an earlier returned date entered.