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

Return the value of a specific related record


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

Recommended Posts

  • Newbies
Posted

I have a database set up with Customer records relating to multiple Contacts for that customer. I am having trouble creating a calculation to return a value from a specific related contact (one among many) based on its contact ID.

For example, each Customer has a default billing contact, which is recorded by its ID in the customer record. What calculation would return the email address of the default billing contact?

The calculation I'm currently using, based on case ( ), is not returning the value from the correct entry:

Case ( billToContactID = customerContacts::contactID ; customerContacts::email )

Thank you,

Dan

Posted

IMHO, it would be best to define another relationship between the two tables, based on matching:

Customers::BillToContactID = Contacts 2::ContactID

Then you can use fields from Contacts 2 directly, with no calculation required.

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