Jump to content
Sign in to follow this  
emerywang

updating number field calculations

Recommended Posts

Hi. I have a field that's a number, with an Auto-entered calculation. How can I get it to update, whenever the data that it's making the calculation on changes? I know if I changed it to a calculation field, it would update. However, it would also replace all previous values in that field, and since we used a different calculation formula in the past, that would change all our old numbers, and we can't have that.

Thanks for the help!

-Emery

Share this post


Link to post
Share on other sites

What if you use a number flag field and set it with 1 for all records that shouldn't be updated? Then use a calculation of Case( flag, originalfield, yourcalculation ).

If the limit of your old way is based on date, then just use Case( datefield < changeoverdate, originalfield, yourcalculation ).

Share this post


Link to post
Share on other sites

Great. Thanks. BTW, would it be any different if I used an "If" function instead of Case? Never could figure out what the difference was.

Thanks.

-Emery

Share this post


Link to post
Share on other sites

If you only have a true and false result, there's really no significant difference. I'm merely prefer Case over If.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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