Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4789 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

"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?

Posted

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 )

This topic is 4789 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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