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.

Refreshing Summary Field Elegantly?

Featured Replies

Jeez -- I've gone 'round and round on this for the past hour. I have a portal displaying item records from a join table with an "Insurance Value" field accessible to the user to set $ values. Just below the portal I have a Summary Field that totals up the Insurance values. (I have it set up as a text Merge Field since its display only) Basically, it works. . .

But I'm struggling with the various ways that user behavior can make the Summary Field update itself . . . or not. If the user enters a value in a portal line item and clicks out onto the layout, the Summary field refreshes itself -- but if instead they tab to or enter another field directly, the Summary field goes blank.

I can create a "Refresh Window" button next to the Summary -- but I note it only works if the user isn't currently "in" another field -- is there a step I can add to the button script to get the cursor "out" of any field? (And is there a term for that?). Also, I tried variations displaying the Summary Field in a standard textbox as well as a merge field but in some solutions was getting an ugly 'flashing' effect-- as I say, I've been going around and around with various variations.

I'm realizing that my problem here exposes that I am lacking some underlying concept of how the FMP window works / committing records / refreshing windows etc. Could someone help me out here?

Thanks

Albert

Summary fields are for subsummary reporting not for spreadsheet'ish behaviour except when positioned in the header og tailer of a layout, where instead the aggregate functions such as Sum( refreshes properly dispite allocation. However could the found set be of considerable size allowing only genuine summaries to evaluate, if we speak of pre fm10 should it instead be scripted to appear in Browsemode:

http://www.kevinfrank.com/download/kf-fast-summary.zip

However when speaking of a portal of data, would the aggregation function be sufficient - use Sum( over the relation!

--sd

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.