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

count correctly in one view but not the other ?


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

Recommended Posts

Posted

Say that a database has two tables "table_A" and "table_B". tabel_A has a summary field "table_A_records_counting" which counts the total number of records in Table_A. However, when I create a view based on table_B, and trying to show that count, it always shows up as 1 no matter how many records in table_A. it will count correctly if the view is based on table_A though...

Please get a sample file from http://www.duke.edu/~jiehuang/jiehuang-test.fp7 it shows the problem.

Please help!!

Jie

Posted

maybe it is an odd way in my sample file. However, it is very common that when I make a report for the VISIT, and at the same time want to show the total number of PATIENT on this report.

Posted

In this case you might want to us a relationship and a calculation field that uses Count() on the related records, instead of a summary field. That way it doesn't matter where it is on a layout, and it can easily be referenced elsewhere.

It would be an unstored calculation, but that isn't any change from using the summary field.

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