Originally Posted by
June7
No idea what you mean by 'status ribbon'. What do you mean 'usually a ribbon'? What ribbon?
In the header of the report is a summary of the unit data.
Census:
Admissions:
Discharges:
Psychiatric Emergencies:
Nut Allergies:
Recertifications:
Belongings Search:
ECT procedures:
Drug resistant Organisms:
The census is the number of patients on the unit.
Admissions will show room numbers corresponding to patients due to be admitted: 201, 203A, etc....
Each other category is the same as Admissions. Each category corresponds to a yes/no check box on the form. On this summary header, I want the report to look at which patient's have the check box marked and reflect the room number under the appropriate heading (Admissions, Discharges, etc...).
I have made Census populate the number of patients on the unit by adding
Code:
=Count(IIf([PatientT]![Unit]="2W" And ([PatientT]![Active]="Yes"),1,0))
to the control source of the text box in the report header. Unfortunately, when I run the report, a popup box requesting parameters comes up for the unit name, which is specified in the query, and the active yes/no check box, which is marked yes in the query.
Thanks