A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sum including all records



 
 
Thread Tools Display Modes
  #1  
Old August 21st, 2006, 05:18 PM posted to microsoft.public.access.reports
Chip
external usenet poster
 
Posts: 147
Default Sum including all records

Hi,
I am having a problem with summing of calculated fields. My report is to
sum the costs for each Purchase Order (PO) listed on the form in the PO
footer of the report. Now the data that I am pulling this from will have
multipleinstances of the PO in the details but I just want the sum of the
Quantity of the PO (POqty) * Price on the PO. I am performing this summing
on the PO Footer but it is summing all of the details for that PO giving an
inflated total. I just want the totals that is shown in the PO Header to be
summed at the bottom of the report and not every line on the report.

I am new to this type of summing so please take this in consideration when
replying, and as always THANKS IN ADVANCE!!!!

Chip
  #2  
Old August 21st, 2006, 09:56 PM posted to microsoft.public.access.reports
Access101
external usenet poster
 
Posts: 118
Default Sum including all records

Chip,

One SUM error I come across is based on which section I place the statement:

=Sum([PO_Detail_Val])

I could put it in the Report Header, Page Header, Detail Section Header,
etc., and I'll get different results. Though you probably knew that one.

Maybe this is the problem though ... you might be wanting this

=Sum([PO_Header_Val])

instead of this:

=Sum([PO_Detail_Val])

Let me know if this helps.




"Chip" wrote:

Hi,
I am having a problem with summing of calculated fields. My report is to
sum the costs for each Purchase Order (PO) listed on the form in the PO
footer of the report. Now the data that I am pulling this from will have
multipleinstances of the PO in the details but I just want the sum of the
Quantity of the PO (POqty) * Price on the PO. I am performing this summing
on the PO Footer but it is summing all of the details for that PO giving an
inflated total. I just want the totals that is shown in the PO Header to be
summed at the bottom of the report and not every line on the report.

I am new to this type of summing so please take this in consideration when
replying, and as always THANKS IN ADVANCE!!!!

Chip

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.