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.

Grandchildren Portal Filter

Featured Replies

Anyone know how to display grandchildren on parent layout with an on the fly filter feature?

I have set up the base of this and attached. I'm obviously missing a piece, but don't know what it is or how to implement.

Any help?

I appreciate it!

Cheers!

post-80154-0-63623300-1336629017_thumb.p

post-80154-0-78172200-1336629033_thumb.p

FilterGrandchildrenDemo.fp7.zip

  • Author

I do have this "working" by a global field in the AssignmentsTable placed on the ProjectsTable layout.

But am wondering if this is good technique and if there is a better way to do this???

Proposed working demo attached.

THANKS!

post-80154-0-50334900-1336631406_thumb.p

FilterGrandchildrenDemo02.fp7.zip

Hi Randy! :)

How many Tasks do you think would ever exist on a single ProjectParent? If under a few hundred, I would not hesitate to use a filtered portal instead (please see modified file). By using filtered portal instead of filtered relationship, you can eliminate some graph clutter.

In this instance, because of the perspective, we can't simply place the Assignments::Title_Assignment field in the Tasks portal because it will evaluate only the first 'parent'. So I attached a value list on your TasksGrandChild::ID_Assignment field so we can easily display the Title_Assignment.

Value Lists can come in handy in situations like this and sometimes I will create a value list ONLY to provide the 'secondary value list value' without having to create a direct relationship or add a calculation.

UPDATE: I did not remove the unnecessary table occurrences.

FilterGrandchildrenDemoMOD.zip

By using filtered portal instead of filtered relationship, you can eliminate some graph clutter.

You won't hear me suggest this very often. I am not sure exactly where that 'break point' would be - it would depend upon several factors but a few hundred records (I would WAG) would be fine and if you only have 50 or so max (average) then I feel it would be the best alternative.

  • Author

Hello LaRetta!

I never really thought of using value list just to provide the secondary value. I have done this before, but unknowingly. Great tip!

Yes, in this particular system, Task per ProjectParent would rarely reach 50, and may never reach 100.

So, unfortunately, the company using this database is STILL using FileMakerPro 10! So I can not take advantage of the filtered portal, I must go the filtered relationship route.

Thank you for chiming in!!! :-)

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.