Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Basic relationship question using a join file


This topic is 4741 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I appreciate that this is probably a basic question but I just can't figure it out.

This is an Electronic medical record solution.

I have a table for "doctors" in which each practitioner has a unique id. It is related to a "Location" table that contains the addresses at which each practitioner works and it has a location id. As it is a one to many relationship I have created a join table which contains of course the practitioner id and the location id.

The problem is that each practitioner has a unique provider number for each location. Thus each provider number is dependant on a practitioner and a location.

I have a layout in the practitioner table with a portal to the location table in which I display the addresses for each practitioner.

How do I display the provider number give that it requires two keys, Practitioner id and location id?

The only place that I can see is by adding the provider number to the join table but that field don't display properly if I put it in the portal.

If I place a portal to the join table will this work.

I know that I can have two portals, one to the location table and another to the provider table but this is messy.

I would appreciate any advice.

Joseph

Posted

I have a table for "doctors" in which each practitioner has a unique id. It is related to a "Location" table that contains the addresses at which each practitioner works and it has a location id. As it is a one to many many-to-many relationship I have created a join table

If I place a portal to the join table will this work.

Yes, assuming each doctor/location combination has only one record (at most) in the join table.

Posted

I'm not sure I follow. Each doctor has a unique id and each location has a unique id.

Many of the doctors work at up to 4 locations, thus in the join file there will be multiple entries for a given doctor id but each entry will have a different location id.

My question is, can I place the fields from the location itable in the portal from the join file to allow me to make new entries in the location table as each doctor a quires a new location.

Similarly, can I place fields from the the provider table which is related by the same join file but a a different relationship in the join portal?

Posted

Thank you for your help.

At least now I know that putting fields on a join file is ok even if I can't create a new entry directly

This topic is 4741 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.