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 8044 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Could someone please help with how to do link tables and multiple table joins?

The need is to have a 1-to-infinity relationship between tables, by using the link table.

The desire is to achieve an application supported by a fully normalized database behind it.

Table Client.fp5 serves solely as a GUI, containing singular field "person_id".

Other fields will be "dragged" onto the Client.fp5 layout from related tables using the layout tools.

Table Person.fp5 serves to contain the client's "person_id", "firstname", "lastname" fields (i.e. things which most people have only one of);

as well as several address_id fields.

There is a relationship Client::person_id<->Person::id.

Table AddressInfo.fp5 contains an "id" field, and address information such as street, city, etc.

There is a relationship AddressInfo::id<->Person::address_id1.

A relationship AddressInfo::id<->Person::address_id2.

A relationship AddressIndo::id<->Person::address_id3.

What I wish to do is show the address information from AddressInfo.fp5 on the layout of Client.fp5 when

their sole relatioship is through Person.fp5.

Thanks for your help.

-- Pat

Posted

Simple, although maybe not obvious. You need to add calculated fields to your Person.fp5 file to "relay" information from the address file and make it available in the person file.

create relationships from Person to Address and use these to display information in calculated fields native to the Person.fp5 file. For example, create in the Person file:

cState (calculation, text) = PersonToAddressRelationship::State

cZip (calculation, text) = PersonToAddressRelationship::Zip

etc.

It is now possible to access these fields from the Client file as related fields in the Person file.

-bd

This topic is 8044 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.