Skip 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.

Sibling relationship problem

Featured Replies

Hi everyone, I had a newbie question. I am trying to figure out the best way to display a relationship between 2 records on the same table. Basically what I have is a "Parent" table and a "Child" table. I can display all of the parent's children in a portal on the parent screen, but cannot figure out how to display the siblings of the children on the "Child" layout. For instance if John has 2 sons Jake and Jason, both sons appear on John's layout in a portal. How do I get Jake and Jason to appear on each other's layout when they are in the same table?

Thanks

Define a self-join relationship of the Child table as:

Child::ParentID = Child 2::ParentID

AND

Child::ChildID ≠ Child 2::ChildID

Place a portal to Child 2 on a layout of Child.

Note: Child 2 is another occurrence of the Child table on the relationship graph.

  • Author

How would this work in the case of multiple siblings? I currently have 300-400 parents with anywhere from 1 to 6 children. Would I need to keep growing the number of tables as needed?

No - the portal shows all siblings of the currently viewed child.

  • Author

Worked perfectly!

Thank you...

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.