Calculations in Form footers

  • Thread starter szag via AccessMonster.com
  • Start date
S

szag via AccessMonster.com

I am a continuous for that I am using to whereby I calculated totals in the
footer section. It works fine until I try to sum on a calculated textbox from
detail section.

I have an "Expense" field, a "Markup%" field, then a calculated field that
multiplies these two

I can sum the "Expense" amount field, but not the calculated markup field.

Should I be able to or is this somethign that just won't work in a footer?

Thanks.
 
J

Jeff Boyce

Carry out the multiplication again in the footer control ... don't try
pointing at the calculated control.

The value of your footer control might look something like (untested):

=Sum([YourExpenseField]*[YourMarkupField])

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 
S

szag via AccessMonster.com

Pefect. How did I miss something so simple? Thanks!

Jeff said:
Carry out the multiplication again in the footer control ... don't try
pointing at the calculated control.

The value of your footer control might look something like (untested):

=Sum([YourExpenseField]*[YourMarkupField])

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP
I am a continuous for that I am using to whereby I calculated totals in the
footer section. It works fine until I try to sum on a calculated textbox
[quoted text clipped - 9 lines]
 
Top