We help IT Professionals succeed at work.
Get Started

Sum text boxes using the name of the control in Access

LindaOKSTATE
LindaOKSTATE asked
on
236 Views
Last Modified: 2012-05-11
This seems like a very basic question but I can't get it to work.  I have many totals on a report.  Most totals are already sums of other subtotals.  I can sum easily  by using the actual field names, but since the field names are long, I wanted to just name the text boxes 1- 30, or even leave them text1, text 2, text3, etc.
 I can get the subtotals using =Sum([FieldName1] + [FieldName2]) and =Sum([FieldName3] + [FieldName4]) .  But now I want to add all of them together and the expression will be very long.  I want to do something like =Sum([text1] + [text2]) but Access keeps asking for the parameter values Text1 and Text2.
Any ideas?  
LindaOKState
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE