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.

Storing a calc value which references a Global?

Featured Replies

FM won't allow storage of a calculation if the calc formula includes reference to a global. How can I restructure this scenario:

Calculating a payroll deduction, I use several global fields to specify things like a fixed amount for an optional retirement plan. When I then try to calculate the withholding amount on a paycheck I pull this value from the global field in the Settings file. But this must be a *stored* figure else previous checks will change if the withholding amount is changed during the year (if, e.g., the employee elects to have a different amount withheld).

Any suggestions?

  • Author

I should have added that presently I'm pulling the global field into a calc field in the paycheck record (amtRetire = Settings::amtRetire_G).

Look into using the Evaluate function.

Change amtRetire into a number field, with auto-entered calculation.

Select "Do not replace existing value for field (if any)" to prevent overwriting data already present.

  • Author

Thanks! That's the solution I needed.

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.