Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

count correctly in one view but not the other ?

Featured Replies

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

What about something more like this? You are using summary fields in something of an odd way.

jiehuang-test2.zip

  • Author

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.

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.

  • Author

Hi, I tried that, but it didn't work either. Can you please make it work on my test file and send to me at [email protected]

Thanks!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.