Error Using Text box from aggregate function (1 Viewer)

wrweaver

Registered User.
Local time
Today, 14:11
Joined
Feb 26, 2013
Messages
75
I created an aggregate query to feed a report that I want of all products i use in a year and a total price for all products. I used a sum function of the line totals in a text box to display the total expenses for all products, but it keeps giving me an #Error message. I attached the pictures of my query and the report.
 

Attachments

  • 20130313_135516.jpg
    20130313_135516.jpg
    108 KB · Views: 101
  • 20130313_135535.jpg
    20130313_135535.jpg
    98.2 KB · Views: 100
  • 20130313_135453.jpg
    20130313_135453.jpg
    104.8 KB · Views: 116
You need to rename the control that is bound to the field LineTotal. Currently it is named the same as the field and when you have an expression on a report that refers to a field, the control that is bound to that field can NOT have the same name.

Rename the control to txtLineTotal and then go back and change your expression back to using LineTotal (as I assume you probably have not disabled Name Auto Correct, which I would do).
 
Still gives me the #Error
 

Users who are viewing this thread

Back
Top Bottom