Good evening to everyone!
I am currently working on a database system and I am trying to figure out a way to allow a user to create a report based on two values: a patient's unique identifier and their date of visit to the hospital. The purpose of this report will allow to view all patient data for that particular date.
I already created a report that consists of several subreports that were generated by queries. However, not all queries function the same. For example, I created three queries that display the 4 most recent entries prior to a date value submitted by the user. For another query, I programmed it to return all entries for a specified date and beyond.
My solution was to create a parameter query that will instruct the database to create a report based on the patient's identifier and specified date value. I just need to know how I can apply one date value in a query to several queries at the same time. (I highlighted that last sentence in bold because that is the main problem).