J
jtoddspradlin
I have a table that includes the following fields: AccountNumber, AdmitDate,
and DischargeDate.
I need to build a query that allows entry of a date range (for example,
4/1/07 to 4/30/07) and returns a count of the total number of AccountNumbers
for each day in that range for which that date falls between AdmitDate and
DischargeDate.
Basically, I'm trying to count the number of patients in the hospital on
each date in the range entered.
Thanks,
Todd
and DischargeDate.
I need to build a query that allows entry of a date range (for example,
4/1/07 to 4/30/07) and returns a count of the total number of AccountNumbers
for each day in that range for which that date falls between AdmitDate and
DischargeDate.
Basically, I'm trying to count the number of patients in the hospital on
each date in the range entered.
Thanks,
Todd