Results 1 to 5 of 5
  1. #1
    deepucec9 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2015
    Posts
    34

    Sum in report

    Created a new report with pallet number. But the total sum of pallet in report footer showing wrong.Click image for larger version. 

Name:	1.jpg 
Views:	16 
Size:	90.5 KB 
ID:	22585


    Please check the attached screenshot. Instead of 1 toatal sum is showing as 6 .
    format "Sum([pallet_out])"

    TIA

  2. #2
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    It looks like you're grouping on the pallet, so each detail record would contain the pallet and since there are 6 records, you would sum to 6.
    What is the field name for the master table? Use it instead of the name for the child table. Or if they're the same, then try sum([mastertable].[pallet_out])

  3. #3
    deepucec9 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2015
    Posts
    34
    Tried sum([mastertable].[pallet_out]) still the same result.
    All fields are from same table "out".

  4. #4
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    Is there a query behind the report? If so, can you show it?
    I'm not sure, but I think you may be able to sum the group control. e.g. sum([ctrlPallet]) or sum(cint([ctrlPallet]))

  5. #5
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 8 Access 2013
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    If you need to count groups ( each pallet is a grouping) then check this out:

    http://access.mvps.org/access/reports/rpt0016.htm

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums