Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FMPro 6 relationship query

Featured Replies

  • Newbies

I'm having a bit of trouble trying to figure out the design of a database using FMPro 6 that can be used in the following way:

When entering data begin by entering personal details in a 'Tutors' database, then enter the course details for the tutor - this will only

be a summary of (for example) course start date/time, course name, course venue and min/max places available. Multiple courses can be

added to each tutor record. To enter further details or view more course information one would click on a button to be transferred to

the related record in a 'Courses' database.

OK, I have no trouble with the above and created a portal in the Tutors database to show a few fields from Courses database... however, I have had trouble trying to figure out how to take into account the fact that some courses have more than one tutor. I assume this is a many-to-many relationship and attempted to sort this out with a third 'join' database but have not had any luck. If anyone has any suggestions about how I should proceed here I would appreciate some pointers.

Thanks

I have had trouble trying to figure out how to take into account the fact that some courses have more than one tutor. I assume this is a many-to-many relationship and attempted to sort this out with a third 'join' database but have not had any luck.

I don't see a join file in the structure you've described so far, but that's what you'll need here:

Course -< Course_Tutor >- Tutor

The Course_Tutor file relates to Course by CourseID and to Tutor by TutorID. This join file may also need copies of some of the fields from the other files if you wish to see those details in the portals. For example, you might want the Tutor Name for a list of Tutors in the Course file, and you might want the Course Title in a list of Courses in the Tutor file. These copies can be regular text/date/number fields with auto-enter lookups, or unstored calcs showing the related value.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.