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-28T20:37:37+00:00

    Progress has been made, but now I'm stuck. I've worked full time on this for the last few days, and I am frustrated as I'm so close to finishing this. I'm hoping my transfer to a billing job comes through quick as this is not my forte, and they want me to start on writing an Access database for Physical Therapy ASAP.  Anyway . . .

    1. When I try to search Specialty or Subspecialty, it keeps asking for the parameters such as sSpecialtyID and ssSubSpecialtyID. I have the parameters already built in the tables. If I try adding them to rptStacked or back into the tables again, it doubles or triples the data. The reports all open correctly from Navigation. 
    2. In my qryProviderSpecialty and qryProviderSubSpecialty, I have everything sorted by provider's last name, pLast. However in rptStacked it does not sort by the last name. I can't add pLast to the "Group, sort and Total", and I can't get pLast anywhere in there.

    Here is the file:

    https://drive.google.com/open?id=12MJozMPeIhGWA1IsZA89Gkkxe97qBeJn

    Thank you for your time and help.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-11-27T01:15:56+00:00

    No problem, corrections should solve your issues.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-11-27T00:08:17+00:00

    Thank you so much. I have started making the corrections but must leave now for a doctor's appointment. I will continue this in the morning.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-11-26T23:23:16+00:00

    Well, there were multiple issues...

    1. Recordsources for subreports, you need to remove all the unused tables to get rid of the duplication as that is why you are seeing duplicates, so...

    rptResultsSpecialty

    SELECT [pFirst] & " " & [pLast] AS Provider, tlkpSpecialty.sSpecialty, tblProvider.pNotes, tblProvider.pLast, tblProvider.pProviderID

    FROM tlkpSpecialty INNER JOIN (tblProvider INNER JOIN tblProviderSpecialty ON tblProvider.pProviderID = tblProviderSpecialty.psProviderID) ON tlkpSpecialty.sSpecialtyID = tblProviderSpecialty.psSpecialityID

    ORDER BY tblProvider.pLast;

    rptResultsSubSpecialty

    SELECT [pFirst] & " " & [pLast] AS Provider, tblProvider.pLast, tlkpSubSpecialty.ssName, tblProvider.pProviderID

    FROM tlkpSubSpecialty INNER JOIN (tblProvider INNER JOIN tblProviderSubSpecialty ON tblProvider.pProviderID = tblProviderSubSpecialty.pssProviderID) ON tlkpSubSpecialty.ssSubSpecialtyID = tblProviderSubSpecialty.pssSubspecialtyID

    ORDER BY tblProvider.pLast, tlkpSubSpecialty.ssName;

    1. You don't link reports on pLastName because there can be same last names.  You add pProviderID to the query and link on those.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2018-11-26T23:01:15+00:00

    I wasn't looking at that as you stated there was an error message.  Will look at *repeats* now.

    Was this answer helpful?

    0 comments No comments