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.

work-a-round for summarizing from dynamic relashionship

Featured Replies

Hi,

The situation is the following:

DB A

*****

Field 1 - unsorted calc

Field 2 - unsorted calc

DB B

*****

Field 3 - portal match

The relationship is from DB_A(field 1) to DB_B(field 3) and named "DB_A_B"

Field 2 = count(DB_A_B::Field 3)

I need to be able to summarize field2..but it is not possible because it is a dynamic relationship (Field 1 is unsorted as it uses a global field in its calculation).

Creating a value list is also not possible for the same reason.

Any suggestion of how a summary can be accomplished?

  • Author

The version is FMP6....

Summarizing an unstored calculation field may be slow, but it should work.

  • Author

How ? it wont let me even to choose this field for summarizing....

Let me see if I understand this correctly:

File: PARENT

ParentID

File: CHILD

ChildID

ParentID

Value

Relationship from PARENT to CHILD:

PARENT::ParentID = CHILD::ParentID

File: PARENT

cCount = Count ( CHILD::Value )

Now you should have no problems defining a summary field in PARENT =

Total of cCount

  • Author

If the PARENT:ParentID is a calculated field that uses a global field then It is not working...

It works for me - see atttached (I don't have ver.6 - open these two together).

summarize_unstored.zip

  • Author

:oops:

My mistake was that the calculated field was a "text" result, while it should be "number"...

Veteran...thank you so much for your patience...

Even after 5 years one can make silly mistakes...

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.