I have a text box [txttotalmatcost] with the following in the control source
=CDbl(nz([txtmatcost1],0))+CDbl(nz([txtmatcost2],0))+CDbl(nz([txtmatcost3],0))+CDbl(nz([txtmatcost4],0))+CDbl(nz([txtmatcost5],0))+CDbl(nz([txtmatcost6],0))+CDbl(nz([txtmatcost7],0))+CDbl(nz([txtmatcost8],0))+CDbl(nz([txtmatcost9],0))+CDbl(nz([txtmatcost10],0))
This works well for the sum of above text boxes.
However it is not bound to the txt box - I put it in the control source
What I want to do is bound the text box so I can easily bring up the sum so I can use the answer in various reports.
1st question is this the proper way to do this? or should it be done in a query?
2nd question if it is - where do I input the above and how?
Summary of what I am looking for is to have the sum of the text boxes to be able to be viewed on a report.
Thanks for your direction
Gary