Skip 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.

Related Record Count (based on unstored calculation)?

Featured Replies

Table A and B are related. In Table B, I would like to see a count of records related from Table A, based on  criteria in an unstored calculation field, such as TableA::Status ("Sold", "Available", etc.). In other words, in Table B I would see a count of sold records (related from Table A), available records (related from Table A), etc.

 

Available: 6

Sold: 5

Total: 11

 

The Total is easy: for example Count (TableA::Record ID) However, I can't build a relationship based on an unstored calculation, such as TableA::Status - so what do I do??

 

If anyhow possible, I would like to avoid calculation fields in Table A, because there's a lot of records. If I have to add a couple of calculation fields in Table B, that's ok.

 

A combination of List, FilterValues, and ValueCount should do the trick.

  • Author
A combination of List, FilterValues, and ValueCount should do the trick.

 

 

Thank you! Sometimes I feel so confined in my own mind... lol

 

 

If anybody else has a similar challenge, here's the solution Fitch suggested (or my interpretation of it) to compare the number of "Available" records with the total number of records related:

 

TableB::Availability [ValueCount (FilterValues (List (TableA::Status); "Available")) & " / " & Count (TableA::RecordID)]  Result must be Number

 

The result looks like this:  3 / 5

Result must be Number

 

The result looks like this:  3 / 5

 

No, the result type in your example is Text.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.