I am having a similar problem where in the Form Footer I want to sum the textbox OrderTotal in the detail section. I am using a textbox in the Form Footer and when I do a =Sum(OrderTotal) I am getting #Error. Any ideas. Thanks all
This is straight from the on line help. Perhaps it will solve your problem
About computing a total for a calculated control on a form or report
When computing a total with an aggregate function such as Sum or a domain aggregate function such as DSum, you can't use the name of a calculated control in the Sum function. You must repeat the expression in the calculated control. For example:
=Sum([Quantity]*[UnitPrice])
However, if you have a calculated field in an underlying query, for example,
=ExtendedPrice: [Quantity]*[UnitPrice]
you can use the name of that field in the Sum function, as shown here:
=Sum([ExtendedPrice]) Tyrone Lumley
augerinn@gte.net
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.