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

Recommended Posts

Posted

I'm fairly new to filemaker and creating an inventory db using and modifying the template in FM. I want to be able to count reoccurring values in a "Model" field so I can generate an "On Hand" field. Suggestions?

Posted

IMO, the best way to do this is using a self join. In "Define Database" to to the "Relationships" tab. Create a second instance of your main table called OnHandCount. Define a relationship between your Main Table and Count in the following manner:

Model X Model

Model = Model

Then, in the Main table, create your OnHand field as a calculation using the following definition "Count ( OnHandCount::Model )"

Don't actually put the quotation marks in the calculation.

Obviously, the actual table names and field names are up to you, just be sure to be consistant.

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