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

displaying/searching data "two tables away"


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

Recommended Posts

Posted

I feel that this should be something I can do, but I am really having a tough time! I've created a set of related tables...

STUDIOS<< MOVIES(acts as a join)>> ACTORS

So when I look at studios, I can see all the movies a particular studio has produced.

In addition, I would like to see, per studio, the number of films that a studio made that had a female actor in the lead role.

I am hoping that this is an easy problem, and I'll say "oh yeah RIGHT! now I get it" but I've kind of given up trying to solve it on my own.

Posted

There should be a Role table in there between Movie and Actor. In there you can indicate if the Role is a Lead, then relate to both the Movie ID and the Lead flag. See the attached ER Diagram.

With that structure in place, you should have two TOs (table occurences) of Role (Role and Role by Lead). To find Studios that have Leads that are Female, add another TO of Actor linked to Role by Lead (call it Actor by Lead). In a layout based on Studio, add search criteria "Female" in the Actor by Lead::Gender field.

MovieActor.GIF

Posted

Thanks, yes, I will try this!! I think I was trying to do it without the additional table occurrences...I will give it a shot and check back.

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