C
ClareBear
I am trying to write a query where I have the fields: admission date,
discharge date and I subtract the two to get hours in hospital (Total
Admission Hours: DateDiff("h",[Admit Date],[Discharge Date]), but I want an
IIF statement where by if the discharge date is blank, it uses a date that i
enter with a parameter field or the last day of the previous month. I'm not
sure I can do both inside this one calculated field or if I need to do
another one. Thanks for your help!
discharge date and I subtract the two to get hours in hospital (Total
Admission Hours: DateDiff("h",[Admit Date],[Discharge Date]), but I want an
IIF statement where by if the discharge date is blank, it uses a date that i
enter with a parameter field or the last day of the previous month. I'm not
sure I can do both inside this one calculated field or if I need to do
another one. Thanks for your help!