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.

Slow calcculations...

Featured Replies

Hi All,

Any ideas on how to speed up calcs??!!

I added 3 calc to my app and just slowed everything down!!!

They are some time calculations (elapsed time to get duration of events).

I think it's because the "new" calcs use calc fields themselves. Is that possible?

(one set of calcs needs to finish before the other can process)

Also i use some TimeToText function are they known to be slow??

A couple of If statements & Case statements.

Thanks for your thoughts

--Dan

Remove the calculations and set the fields to scripted values residing in numeric fields. Meaning, when the record requires those values to change (be calculated), set the numeric values through a script. When you start reporting, this design feature will pay huge dividends.

Hi Dan,

It makes a huge difference (faster) if the calculation result can be stored. But not all calculations can be stored, for example when a global, or a related field is involved.

Regards,

Ernst

  • Author

Hi Ernst,

I'm not sure if i can store or not??!!

One of the calc fields is the length of the workday.

If i store that calc, what happens if a user changes the start or end time for that day will the length be re-calculated??

When does the calc get "executed" only when the referenced fields have data?

Thanks

-Dan

Hey Dan,

In general stored calculations are calculated at the moment the data changes (thus on entering the data)

Unstored calculations are generated when the calculation result is needed (i.e. for display)

you can easily check if storing is possible by clciking the 'Storage Options...' button in the calculation definition and trying to uncheck the 'Calculate only when needed' option.

Hope this helps,

Ernst.

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.