Results 1 to 8 of 8
  1. #1
    HelenP is offline Novice
    Windows 2K Access 2000
    Join Date
    Oct 2010
    Posts
    16

    Unhappy Why cant I do this!!


    Hello,

    I have read through loads of forums about calculating totals in reports and have tried the =SUM() function but it only ever returns error.

    What am I doing wrong?!

    Thanks in advance

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi helen,

    hard to answer if we don't exactly know what you have done, and how your report/ data look like.

    gr
    NG

  3. #3
    HelenP is offline Novice
    Windows 2K Access 2000
    Join Date
    Oct 2010
    Posts
    16
    I have three fields in the detail section:
    CountOfPaymentRef
    SumOfEntryAmount
    SumOfOverallDebt

    I want a total of each of these fields in the page footer

  4. #4
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi,

    try putting the sum expression in the report footer or groupsfooter.

    gr
    NG

  5. #5
    HelenP is offline Novice
    Windows 2K Access 2000
    Join Date
    Oct 2010
    Posts
    16
    Still no joy

    I have =sum([CountOfPaymentRef])

    What am I missing?

  6. #6
    jgelpi16 is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544
    Forms always drive me crazy. I think you need to add a text box in the header (visible = no) that sums up the field, then add a field in the footer (visible = yes) that is based on that text box in the header. Play around with that. I have been able to get that to work for me. Does not make any sense, but works.

  7. #7
    HelenP is offline Novice
    Windows 2K Access 2000
    Join Date
    Oct 2010
    Posts
    16

    Getting there!

    Quote Originally Posted by jgelpi16 View Post
    Forms always drive me crazy. I think you need to add a text box in the header (visible = no) that sums up the field, then add a field in the footer (visible = yes) that is based on that text box in the header. Play around with that. I have been able to get that to work for me. Does not make any sense, but works.
    I have tried this and now have the total coming up in the detail section after each record, but I cant link it to the textbox that I have put in the footer :S

  8. #8
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi,

    I never had to use tricks like jgel described, but I tried out the following demo to show the totals:

    If it doesn't work, just try to make the report through a wizzard with the totals, you can always fine-tune the looks afterwards.

    grNG

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