I work at a small mental health clinic and am trying to accomplish the following. Access skills a little rusty, it's been a while.
What I have:
What I am attempting to accomplish:
I am uncertain as to how to accomplish this. I've tried using subforms but it doesn't list the data at all? Also, it looks like an Access report can create precisely what I need, but I need to have a live form that I can use to update data real-time.
What I have:
- I have one table that lists all of the patients, their phone number, address, etc.
- In another table, it lists the medications that each patient takes, as well as the strength, dosage, etc.
- The two tables have a relationship via the "Patient ID" column in each table.
- Most patients have multiple entries in the second table, as most patients take multiple medications.
What I am attempting to accomplish:
- The main form in my database simply lists all the patients names in datasheet view. I want to be able to click a Patient's name, then go to a form that lists all of that patients medications. I've attached a screenshot that encapsulates precisely what I am looking to accomplish.
- Since most patients take multiple medications, I need to be able to list multiple records in a single form, grouped by medication name, just like in the attached image.
I am uncertain as to how to accomplish this. I've tried using subforms but it doesn't list the data at all? Also, it looks like an Access report can create precisely what I need, but I need to have a live form that I can use to update data real-time.