Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7172 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a table with records of companies. some companies are related to others (like subsidiaries) and i want to be able to show this connection. i also want to show a connection between subsidiaries but don't want to be bogged down with manually inputting primary keys among 10 subsidiaries so that all the companies show up in each other's portals. any suggestions on how to proceed?

Posted

If you add a "Parent Company ID" field to the table, you can add a second TO of Company for the "Subsidiaries", where the relationship is based on Company::CompanyID = Subsidiary::Parent Company ID. To see the other companies with the same parent company, use a third TO of Company for "Same Parent", where the relationship is based on Company::Parent Company ID = Same Parent::Parent Company ID AND Company::Company ID <> Same Parent::Company ID.

Posted

Company ID is the primary key, Parent Company ID is the foreign key in the self-join relationship.

This topic is 7172 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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