I need opinions from others concerning the best approach.
I have a form and a report that are based on an already created and printed form (not access form). This access form and report have close to 100 boxes that numerical values are assigned to based on a handful of numerical values from a table. The remaining text boxes are calculations based on these handful of numerical values. My original plan was to enter in the calculations into all the control sources of the text boxes. So the control source of Box13 would be the values of Box2 + Box5. Although this worked okay on the form, I now have a report as well with seven different subreports (to allow seven seperate distinctly different pages) that have these same boxes. Now I need to go through and set each box to reference not only the box but also the subreport this box resides on.
The solution I am thinking is to put all these cacluations into vba functions. Then the control sources for the text boxes on both the form and reports would just reference these VBA functions. So instead of the control source of box13 being Box2+Box5 it will be Function Box13. and so on and soforth.
This would allow easy maintenance if calcs where to need to change in the future and potentially make everything easier to understand.
What are your thoughts and ideas concerning my two options. It is always great to hear opinions of others, so I appreciate any and all feedback.
Thanks,