Joined: 17 Jun 2011
Location: United States
Online Status: Offline
Posts: 15
Posted: 26 Aug 2011 at 5:06am
I have a from target discharge date parameter and a through target discharge date parameter. Here is a record selection formula that works using only the the from target discharge date. What I need to do is create a range using from target discharge date - through target discharge date.
if hasvalue ({?From Target Discharge Date}) then {event_admission.target_discharge_date} = {?From Target Discharge Date} else {event_admission.target_discharge_date} = DateValue ({event_admission.target_discharge_date}) and {?Facility} = {event_admission.facility_name} and {event_admission.admission_date} in {?Date From} to {?Date Through}
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 26 Aug 2011 at 11:56am
(not(hasvalue(?discharge begin)) or
(hasvalue(?discharge begin) and event_admission.target_discharge_date in ?discharge begin to ?discharge end))
And ?facility = event_admission.facility_name and event_admission.admission_date in ?date from to ?Date Through
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum