Results 1 to 5 of 5

Thread: Reporting the SUM - Guru definately needed!

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    1,026

    Reporting the SUM - Guru definately needed!

    Is there any way to make a report show the sum of all of the records in a recordset? For instance, I have a table with a field named ID and another field named balance. I would like to be able to say something like "Show me the sum of all of the records of the balance field in this recordset"...

    Thanks for your help,

    Squirrelly1
    Now happily married and still crankin' away at the keyboard. Life is grand for a coder, no?

  2. #2
    Hyperactive Member Ed Lampman's Avatar
    Join Date
    Mar 2001
    Posts
    273
    SELECT Sum(Price) AS TotalPrice

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2001
    Location
    USA
    Posts
    1,026
    thankx
    Now happily married and still crankin' away at the keyboard. Life is grand for a coder, no?

  4. #4
    Fanatic Member SkiNLaB's Avatar
    Join Date
    Jan 2002
    Location
    Sydney, Australia
    Posts
    747
    LOL wohh needed a huge tech head for that one, hahah

  5. #5
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    I am glad a GURU answered this one.

    I did know how to do it , but no Guru here so no answer either.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width