How do I add two sums in access?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am creating Invoices for work...I have a "Previous Balance" amout added to
"Expense Item Amount" to get an employee total. I have all my emloyees on
this report and at the end I want to see a total of all "employee total". I
can't seem to get the total to equal the right amount. I tried everything I
know. Can anyone please help?
 
Kats said:
I am creating Invoices for work...I have a "Previous Balance" amout added to
"Expense Item Amount" to get an employee total. I have all my emloyees on
this report and at the end I want to see a total of all "employee total". I
can't seem to get the total to equal the right amount. I tried everything I
know. Can anyone please help?

In the report's footer, add a textbox and make its controlsource:

=Sum([TheFieldYouWantToTotal])

If you already have this total, and need to add them together, just add the
2 textboxes by NAME (not fieldname, use the control's name)

=([Forms]![ThisFormName]![TextBox1]+[Forms]![ThisFormName]![TextBox2])

If you have Nulls that cause a #Error, try this code:

http://www.mvps.org/access/reports/rpt0007.htm
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top