Jump to content
Server Maintenance This Week. ×

Seeing Both Sides of a Self-Join


Recommended Posts

I have a table Doc with Documents stored with their titles.     I link Docs to other Docs showing their relationship, e.g. Doc 2 is supplemental to Doc 1.  I do this with a Join table DocLinks with 4 fields: fkDoc1, Relation 1, fkDoc2, Relation 2.  The latter 2 fields are linked to the table Doc 2.

I want to be able to see that relationship in the portal when I view Doc 2 in the main Doc Layout without having a separate portal.

How do I achieve in Filemaker the equivalent of this SQL Statement?

SELECT fkDoc1, Relation 1, fkDoc2 AS fkDoc1, Relation2 AS Relation1

Thanks for anyone's help 🙂

Link to comment
Share on other sites

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.