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,418
    Provided Answers: 7
    Show us what you have done so far the sql query
    hope this help

    See clear as mud


    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 based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

  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
  •