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

Recommended Posts

Posted

Hi All,

I have 3 fields ...name, department, score

Name A, Computer, 100

Name B , Science, 90

Name C , Computer, 20

Department is an unstored calculation, how many department in the file, I could get the average of score of that department. In this example, it produces 2 department with Computer and Science. But the problem is deartment is an unstored calculation, is there a way to achieve this???

Thanks

Anh Tran

Posted

there are several ways to make [a copy of] an unstored field an indexed one. Or you could do a scripted find.

a) copy-of-field= Getfield("field")

: a 1:1 relation based on uniqueID

copy-of-field: autoenter lookup [self|unique::field]

but I'd rather check whether department can be made stored (via a lookup, for ex.)... departments don't change that often.

Posted

Oh...if department is an stored field then I use the relationship department:department :

but how can it know how many department in that finding to sort out??? we use script find and enter Preview mode right?

Thanks

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