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.

Calculating afterwards

Featured Replies

  • Newbies

I have one layout, with many calculationfields. It's for calculating prices for cardboard packaging. Choises for different machinery, printed or not, etc. etc.

Is there a possibility in FM to make first all the choices and then start the calculations? Now the screen is being build-up (very slow because of the calculations I think) everytime one choice is made, and also when you leave the screen(layout) and come back to it again later.

One possibility is to remove all your calculation fields from the layout. Then create for each of them a number (or text) field and put it on the layout. Now create a script, which you push after having made all your choices. This script would then populate the number (or text or date) fields by using the

As it seems it recalculate when opening the layout, I think what happens here is that you may have statistical fields on the layout.

This said, yes you could use a script to do this, involving either the field themselves or global fields.

I'd tend to use the second method, where both the fields and calcs would be entered by script, which would make it easier to check that the "calculations" have been submitted.

Basically, in order to keep good performances, you should always "limit" the use of cross-related calculations. Having them scripted also offers a way to index them for quick search later on.

I did something similar in just copying the the database and converting th relevant fields into globals.

Values are transferred between the original db and the global clone with scripts.

Another way is to define each calc as

if (calculate="on", my calculation, ""), with global field calculate which is set by a button.

Another way is to define those fields as a lookup or calculated text field, then do a relookup to change values (best performance, but be careful which records are in found set)

  • Author
  • Newbies

Thanks for the contributions/solutions! I'm going to try what will work best for us!

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.