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

Recommended Posts

Posted

Hello,

I'd like to add a field to my Images table with a calculated list of Subjects that appear in the image. I'd prefer it as a calculated field in the Images table so it can be added to a portal in a different database which selects multiple Images for something like an album.

Data Structure w/ Relevant fields:

Images table

-ID

ImageSubjects table (record creation/deletion by Images allowed)

-ImageID (joined with Images::ID)

-SubjectID

SubjectsList table

-ID (joined with ImageSubjects::SubjectID)

-Name

Data entry in Images allows the selection of multiple Subjects via a portal.

Here's what I'd like to do in pseudo-code:


foreach ImageSubjects::ImageID

where ImageSubjects::ImageID = Images::ID

push @Subjects, SubjectsList::Name



return join ", " @Subjects

Is this possible?

Thanks!

Jasmine

Posted (edited)

No, it should work with the relationships you have described. Make sure you are using a calculation field with the result type set to Text, and that you do have related records.

---

And that the calculation field is defined in the Images table, of course.

Edited by Guest

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