Hi all
I am not yet fully familiar with MS access so this may be an easy one for some of you
I have a table with some patients information and then another one with their hospital admissions. All of them have an admission date but only some of them have a discharge date (cause they are still in the hospital).
I want to create a report returning the names of those in hospital on a specific date. Thus I have created a query where it prompts the user to enter the reportdate and then it returns the records that ((admissiondate<=reportdate AND dischargedate>reportdate) OR (admissiondate<=reportdate AND dischargedate is null)).
I then created a report based on that query.
Is there a way to display the reportdate on the report header? I have tried creating a textbook with [reportdate] but it prompts me to enter the reportdate twice and it uses the first one for the calculation and then the second for the text box.
Any smart ideas?
Thank you
I am not yet fully familiar with MS access so this may be an easy one for some of you
I have a table with some patients information and then another one with their hospital admissions. All of them have an admission date but only some of them have a discharge date (cause they are still in the hospital).
I want to create a report returning the names of those in hospital on a specific date. Thus I have created a query where it prompts the user to enter the reportdate and then it returns the records that ((admissiondate<=reportdate AND dischargedate>reportdate) OR (admissiondate<=reportdate AND dischargedate is null)).
I then created a report based on that query.
Is there a way to display the reportdate on the report header? I have tried creating a textbook with [reportdate] but it prompts me to enter the reportdate twice and it uses the first one for the calculation and then the second for the text box.
Any smart ideas?
Thank you
Last edited: