Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts

    code to total a number value?

    hi, if i have a field on an access database what code can i use to total all of the entries of that one fields.. i.e total number of tickets sold : #

    thanks
    Web and Business Development from Cornwall - Startbar.co.uk

  • #2
    Regular Coder
    Join Date
    Dec 2003
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    select sum(the_field) from the_table
    Assuming that the_field is a numeric field of course.

    shmoove


  •  

    Posting Permissions

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