Results 1 to 3 of 3

Thread: Select and Sum?

  1. #1
    Join Date
    Jul 2013
    Posts
    2

    Angry Unanswered: Select and Sum?

    Im working on a report header that provides me with the count of a field and then gives me the percentage.
    So it counts;
    G
    L
    Y
    R
    With the code is a number field that corresponds to the code. So I can have the following fields
    Code Number
    G 12
    G 9
    L 7
    So I would like the code to look for all the G and display a 21 because it summed the 12 and 9 in the text box. Can this be done?
    Thanks

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,472
    Provided Answers: 10
    Show us what you have done so far the sql query
    hope this help

    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
    DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
    THEY'RE BEHIND YOU FOR A REASON

  3. #3
    Join Date
    Jul 2013
    Posts
    2
    myle,

    Clear as mud came back with 911 results. Is it a post?

    Thanks

    KAnoe

Posting Permissions

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