AnsweredAssumed Answered

Need help simplifying an adding code

Question asked by ElliotFriedman on May 28, 2015
Latest reply on May 28, 2015 by mleering


Need help simplifying an adding code


I'm currently working on a database (which I didn't originally set up) and I'm trying to update some code to account for further fields added.

The existing code seems quite long winded and I'm convinced there's an easier and much shorter way to make the same calculation.

Currently, the code adds up 5 fields but I'd like to accommodate up to 8 and easily add more in the future.

If anyone could help me with simplifying the following, it would be much appreciated!

To avoid spam, here's the code: