Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / October 2005

Tip: Looking for answers? Try searching our database.

sum a group of fields in the report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ruzhena - 12 Oct 2005 16:52 GMT
I am having a problem with totalling the "Extended Price" field by Invoice in
the Report. The total should appear only at the end of the group of products
for one invoice, but it appears after each product line.

I created the Invoice Header with the Detail, and put the text box with the
formula (=sum([ExtendedPrice]) in the Invoice Footer. It still doesn't work.

Does anybody know the solution to this problem?

Thank you!
Duane Hookom - 12 Oct 2005 17:23 GMT
You should be able to total in any Group or Report Header or Footer section.
You can total fields or expressions from your report's record source. You
can't total a control from a different section.

If ExtendedPrice is the name of a control, your Sum() will not work. You may
be able to Sum() the control source of a text box:
=Sum([Quantity] * [UnitPrice] * (1-[Discount]))

Signature

Duane Hookom
MS Access MVP
--

>I am having a problem with totalling the "Extended Price" field by Invoice
>in
[quoted text clipped - 10 lines]
>
> Thank you!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.