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.

Multiple records display on one DB

Featured Replies

I have two DBs. One contains classes That I teach. Each record has an ID# and description. My second DB lists my students and the classes (five) that they are scheduled to take.

My relationship is the Class ID# between the two DBs. I don't seem able to display multiple classes for a given student. I can select different classes however, only the first classes description appears in each of the five fields I ahv set for classes. Suggestions would be most welcomed. Thanks in advance.

It sounds like you have a many-to-many relationship but have set up your files to have a one-to-many relationship. It's many-to-many because one class can have many students and one student can be in many classes. To make a many-to-many relationship work, you need to have a join file between the two files.

So, in addition to Classes and Students files you need a StudentsClasses file that is related to classes based on the Class ID and to students based on the Student ID. You also need to have Students related to StudentsClasses based on the Student ID and Classes related to StudentClasses based on the Class ID.

Once you have this set up, you'll be able to view all of the students in a class by using a portal to view the relationship from Classes to StudentClasses and you'll be able to view all of the classes a student has by using a portal to view the relationship from Students to StudentClasses.

Try a search on FileMaker's tech info database for many-to-many for some more information, or let me know if this wasn't clear.

Chuck

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.