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.

Records from a table related to a related table!

Featured Replies

Hi,

I have 4 tables - People, Facilitators, Participants and Courses. The main table is People. People could be either Facilitators or Participants or both in many Courses. People and Participants are related by Client ID(primary key for People) and so is People and Facilitators. Participants(of a course i.e.) and Courses table are related by Course ID(primary key for Courses) and so are Facilitators and Courses.

From the People table I need to get information of all the Courses that a "Client" has either participated or facilitated. I thought of adding 2 fields to People, FacilitatorCourseID and ParticipantCourseID(the CourseID from Facilitators table and Participants table respectively, that relates them to the Courses table). These fields, I thought could be looked up from the Facilitators and Participants table, CourseID field. But the obvious problem is that this field can have only one CourseID, whereas a facilitator or participant could have more than one CourseID. So, how do I get records from Courses from the People Table using Client ID as the find criteria? I know I have to go through the Facilitators and Participants Tables, as People and courses are not directly related. I can't figure out how though!

Could anyone give me some advise/guidance please?

Thank you.

Prithvi

  • Author

Thanks for viewing my question. I worked it out. Turned out to be simple.

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.