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.

Calculation Does Not Store

Featured Replies

I have a field called Service_Company, which is populated from a drop-down value list. Occasionally, actually rarely, the original service company goes out of business and a new company is assigned. I can only recall this happening twice.

I thought it would be a good idea to add a new calculated field called Original_Service_Company, which would populate with the original service company during data entry. I unchecked the "Do not store calculation results" checkbox, yet the results are not stored. Whenever the Service_Company field is changed, the calculation runs and stores the new service company in the Original_Service_Company field.

Maybe I'm misunderstanding the "Do not store calculation results" concept. I thought by unchecking the box that the results would then be stored for posterity.

As always, your help is appreciated.

Thanks,

Kevin

A stored calculation field is not "stored for posterity". It re-evaluates when a referenced field is modified.

  • Author

Thank you. Is there a fairly simple way to accomplish what I need, or should I be thinking along the lines of an audit trail?

Probably the simplest thing would be to change Original_Service_Company to a text field. Give it an auto-enter calculated value of Service_Company, and make sure the "Do not replace existing value" box is checked.

Unstored and stored calculations both recalculate based on changes to the values they are based on, but the value of stored calculations is that when a new value is calculated, it is actually stored, so it can be indexed. That lets you do things like use them for relationships and fast finds, which unstored calcs can't do. The disadvantage is that they take up space in the database, while unstored calculations are computed on-the-fly, so they use only a trivial amount of storage.

"I have a field called Service_Company, which is populated from a drop-down value list."

In what table? Is this a foreign key? Perhaps the Service_Company should be a child table with a StartDate and EndDate? Do you have a table for the ServiceCompanies, each record with a unique ID?

It's an audit trail any way you look at it. To keep it simple, try making it a Text field auto-entering a calculated value (replacing existing value) =

List ( Self ; Service_Company )

  • Author

Simple, and perfect. That does exactly what I need it to do.

Thanks, Comment.

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.