Results 1 to 2 of 2

Thread: Avg + Sql + Drop Down Boxes ?

  1. #1

    Thread Starter
    Member alistair4267's Avatar
    Join Date
    Jul 2001
    Posts
    45

    Red face Avg + Sql + Drop Down Boxes ?

    hi.

    i have 3 drop downboxes with :

    1 = DAY
    2 = MONTH
    3 = YEAR

    i have an sql db set up with the different dates in them i need to no how i would go about getting an AVG number when a user select a date

    e.g. i selected 3/3/2005 from the dropdown boxes and then press submit

    how would i go about getting an AVG of the date i entered and returning it ???

    please help

    alistair

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Avg + Sql + Drop Down Boxes ?

    There is a DATABASE DEVELOPMENT forum that this thread would probably make more sense to be in - if you want it moved - PM MartinLiss or some other moderator.

    You need to give some idea as to what you tables/columns are that the query would be against - this doesn't sound too complex - but I don't have enough information to venture a guess.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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