Calculate report footer

F

ferde

I have created a query which gives me the number of patients admitted in a
given period and it tells me what the patients disposition is on discharge.
Can someone please tell me how I would get my report footer calculation to
only give me the total number of admits who were discharged alive. Thank you
in advance for your help.

NumberAdmits DischargeDisposition
10 alive
5 dead
2 alive
14 alive
10 dead
 
B

boblarson

I would put a text box on the report footer and use:

=Sum(IIf([DischargeDisposition]="alive",1,0))
 
F

ferde

Thank you ... I appreciate your help

boblarson said:
I would put a text box on the report footer and use:

=Sum(IIf([DischargeDisposition]="alive",1,0))
--
Bob Larson
Free Tutorials and Samples at http://www.btabdevelopment.com

__________________________________


ferde said:
I have created a query which gives me the number of patients admitted in a
given period and it tells me what the patients disposition is on discharge.
Can someone please tell me how I would get my report footer calculation to
only give me the total number of admits who were discharged alive. Thank you
in advance for your help.

NumberAdmits DischargeDisposition
10 alive
5 dead
2 alive
14 alive
10 dead
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top