Jump to content

counting similar values in field


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

Recommended Posts

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.

Link to comment
Share on other sites

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