John Chamberlain Posted December 9, 2007 Posted December 9, 2007 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.
John Chamberlain Posted December 9, 2007 Author Posted December 9, 2007 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).
comment Posted December 9, 2007 Posted December 9, 2007 I think you mean: Case ( Date of Death and Date of Death < Date of Charge, "Warning! Patient Deceased!" )
John Chamberlain Posted December 9, 2007 Author Posted December 9, 2007 That works - guess I was trying to hard - thanks for the help.
Recommended Posts
This topic is 6540 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now