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.

Limit a relationship further

Featured Replies

HI,

I have the following relationship which works perfectly when a teacher logs in and they only see the students in their form group. However, student sometimes move between form groups for different reasons so if there is an end date populated for the record in the final student tutor group table (holds complete history) then I don't want that record picked up and the tutor able to see the student.

I know this can be done in a relationship but I'm struggling to figure out how to do it. I've created a global field in my global table called ActiveTutee (which I intend to leave blank) but filemaker won't let me link this to the current table occurrence and I'm not sure how else to do it.

Any help would be great?

 

active tutee.png

if there is an end date populated for the record in the final student tutor group table (holds complete history) then I don't want that record picked up and the tutor able to see the student.

I am not sure I fully follow your description, but if you define a calculation field in the same table where the end date is as =

Case ( not EndDate ; FK_StudentID )

and use it as the matchfield to Students, then only active students will be related and visible.

 

Note that is not a security measure.

Edited by comment

  • Author

thank you that's worked a treat.

 

 

 

 

 

 

 

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.