December 9, 200718 yr I have a problem calculating number of days between two dates. I need to know if Date A is earlier or later than Date B. I tried the following: Case(IsValid(Date of Death and Date of Death - Date of Charge), "Warning! Patient Desceased!", "") This returns a valid result in all cases. Obviously, since most of the patients are still living, the Date of Death field is usually empty.
December 9, 200718 yr Author The record contains two dates. One is the Date of Death, and the other is the Date of Charge. If the Date of Death precedes the Date of Charge, there is a problem (can't make a charge for someone who is dead).
December 9, 200718 yr I think you mean: Case ( Date of Death and Date of Death < Date of Charge, "Warning! Patient Deceased!" )
Create an account or sign in to comment