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

Recommended Posts

Posted

I have many products and each product can exist in multiple categories. I have a product table and a category table. I access the category table via a portal. I have many people adding and changing the categories so I need to find out which items have been modified to update the website.

I need to have a checkbox in the products table set anytime a category is added or updated? I have used evaluate in the past but cannot seem to figure it out with a related record.

If there is a better method, let me know.

Posted

Don't you have a join table btw product and category, capturing the combo's since it's a many-to-many relationship?

As for which products have had any of their categories edited, you can set a flag in products by scripting all edits to the join table.

Evaluate does not work on related fields.

Posted

What is a join table and how do I use it. I've been filemakering for 10 years and have never used a join table. It sounds like I about to be enlightened.

Posted

If you search the forum for "join table," you're bound to find many examples.

A join table resolves a many-to-many relationship. In your case, each product can be assigned many categories, and each category can be assigned to many products. A join table records the combinations by storing the foreign keys of CategoryID and ProductID, each combo in its own record.

The portal on Products to see its assigned categories would be based on the join table. Likewise, a portal on Categories displaying the related Products would be based on the join table.

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