trying to create a scheduling doctor appointments in Access 2013

Anonymous
2018-10-17T22:25:24+00:00

My boss asked me to do a new Access database from scratch. I’ve never done an Access database on my own before, and would appreciate any advice you guys have. This is to help employees schedule appointments for 46 medical doctors in 14 different medical offices.

As for my relationships, I hope I’ve set up everything correctly:

As you can see, I’ve set up two junction tables, but am not quite sure how to set up a search query with junction tables. I’ve looked in my two Access 2013 books, and I’ve also looked online but am not having much luck. For example, with the table Junction_Provider_Insurance, I’m not sure how to search the Junction table to pull up the doctor and if the doctor is contracted, not contracted, needs authorization or pending for the insurance. So if a doctor’s name and an insurance name such as Aetna is searched, I want the result to show that the doctor is or is not contracted with Aetna in ReportResults.

As for the search, I originally set up a wildcard search for all the search boxes. My original intention was that the user could type in anything they wanted in one or two or three of the boxes (such as doctor’s name, visit type and insurance) and do a search where the results come up. However this is not working at all and time is of the essence as I’ve already missed my deadline to turn in this a week ago.  

Due to missing the deadline, I decided to change the wildcard text search to a combo box for the Doctor’s Name, Medical Office Name, Visit Type, Specialty and Insurance in the hopes the search will finally work. I’m thinking the best way to handle this is to remove the medical office, and then just have the doctor’s name, then when that comes up, to cascade into a new combo box for the visit type (new patient, follow up, pre-op, post-op, etc.) Or is there a better way to do this? I still need the results to show in the report too.

Thank you so much for your time and help. I really appreciate it very much.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

136 answers

Sort by: Newest
  1. Anonymous
    2018-11-30T16:38:57+00:00

    Still not working. I wonder if it'd just be quicker to do two new reports, one report for Specialties and one report for SubSpecialties and just get the darned thing done with as I'm way beyond the original deadline. Or is there something else I can do that would take less time and still work?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-11-29T05:31:48+00:00

    Thank you Gina. I will try GROUP BY again in the report in the morning. I've tried it before in the "stacked" report but maybe I was doing it wrong. Good luck at your meeting and hope it all goes well.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-11-29T00:06:59+00:00

    You might have to GROUP BY the main report.  Sorry, didn't test, getting ready for a meeting tomorrow.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-11-28T23:30:51+00:00

    Thank you. So in the report that is stacked (rptStacked) with the sub-report Subspecialty inside Specialty, then sub-report Specialty inside the Office report, wouldn't that mess up the search results and give additional, repeating data?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2018-11-28T22:58:28+00:00

    The problem is you would need to add the fields to qryOfficeProvider.  The filter will only be applied to the Main Report not the Subreports.  Those fields are not in the Main Report which is why it keeps asking for them.  You need to put qryOfficeProfider back to...

    SELECT tblOffice.oName AS [Office Name], [pFirst] & " " & [pLast] AS Provider, tblProvider.pLast, tblOffice.oAddress, tblOffice.oCity, tblOffice.oState, tblOffice.oZip, tblOffice.oUrgent, tblOffice.oNotes, tblOffice.oBack, tblOffice.oFront, tblOffice.oEmail, tblOffice.oRefill, tlkpSpecialty.sSpecialty, tlkpSubSpecialty.ssName, tlkpSpecialty.sSpecialtyID, tlkpSubSpecialty.ssSubSpecialtyID

    FROM tlkpSubSpecialty INNER JOIN (tlkpSpecialty INNER JOIN (((tblProvider INNER JOIN (tblOffice INNER JOIN tblOfficeProvider ON tblOffice.oOfficeID = tblOfficeProvider.opOfficeID) ON tblProvider.pProviderID = tblOfficeProvider.opProviderID) INNER JOIN tblProviderSpecialty ON tblProvider.pProviderID = tblProviderSpecialty.psProviderID) INNER JOIN tblProviderSubSpecialty ON tblProvider.pProviderID = tblProviderSubSpecialty.pssProviderID) ON tlkpSpecialty.sSpecialtyID = tblProviderSpecialty.psSpecialityID) ON tlkpSubSpecialty.ssSubSpecialtyID = tblProviderSubSpecialty.pssSubspecialtyID

    ORDER BY tblOffice.oName;

    Was this answer helpful?

    0 comments No comments