Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Query Help

Discussion in 'Information Technology' started by RMCDD997, Jul 28, 2006.

Tags:
  1. RMCDD997

    RMCDD997
    Expand Collapse
    Guest

    I am tracking overtime hours by department. I need to create a query that
    lists the department, and total overtime hours for a particular period. I did
    create a query from my overtime table, but it displays each entry on a
    seperate line. What I need to see is only the department name and total
    hours. Like: "Parts Department 35 Hours." Thanks for your time & help.
     
  2. Loading...

    Similar Threads Forum Date
    Query about Jhatka Meat by Shooting in Head Sikh Sikhi Sikhism Aug 26, 2011
    Who is a sikh? A non sikh friend's query!! Sikh Sikhi Sikhism Apr 30, 2010
    General Query Hard Talk Sep 4, 2008
    Power of pauri's in Japji Sahib query Sikh Sikhi Sikhism Aug 17, 2006
    Sikhism a query Book Reviews & Editorials Aug 2, 2005

  3. Debra Farnham

    Debra Farnham
    Expand Collapse
    Guest

    Create a query based on your existing query.

    In the new query only include the hours and the department fields.

    Include the totals row - group by department and sum the hours.

    That should do it.

    HTH

    Debra


    "RMCDD997" <RMCDD997@discussions.microsoft.com> wrote in message
    news:9608DB1D-AE9A-4805-AB3F-CD3DF099E655@microsoft.com...
    >I am tracking overtime hours by department. I need to create a query that
    > lists the department, and total overtime hours for a particular period. I
    > did
    > create a query from my overtime table, but it displays each entry on a
    > seperate line. What I need to see is only the department name and total
    > hours. Like: "Parts Department 35 Hours." Thanks for your time &
    > help.
     
  4. RMCDD997

    RMCDD997
    Expand Collapse
    Guest

    Thanks very much Debra, I just did it and it works like a champ.

    "Debra Farnham" wrote:

    > Create a query based on your existing query.
    >
    > In the new query only include the hours and the department fields.
    >
    > Include the totals row - group by department and sum the hours.
    >
    > That should do it.
    >
    > HTH
    >
    > Debra
    >
    >
    > "RMCDD997" <RMCDD997@discussions.microsoft.com> wrote in message
    > news:9608DB1D-AE9A-4805-AB3F-CD3DF099E655@microsoft.com...
    > >I am tracking overtime hours by department. I need to create a query that
    > > lists the department, and total overtime hours for a particular period. I
    > > did
    > > create a query from my overtime table, but it displays each entry on a
    > > seperate line. What I need to see is only the department name and total
    > > hours. Like: "Parts Department 35 Hours." Thanks for your time &
    > > help.

    >
    >
    >
     
  5. Debra Farnham

    Debra Farnham
    Expand Collapse
    Guest

    You're very welcome :)

    You'll just have to remember to alter the date criteria in the original
    query


    "RMCDD997" <RMCDD997@discussions.microsoft.com> wrote in message
    news:8985FAC3-23DE-4E1C-BAAC-DA6A1B31399D@microsoft.com...
    > Thanks very much Debra, I just did it and it works like a champ.
    >
    > "Debra Farnham" wrote:
    >
    >> Create a query based on your existing query.
    >>
    >> In the new query only include the hours and the department fields.
    >>
    >> Include the totals row - group by department and sum the hours.
    >>
    >> That should do it.
    >>
    >> HTH
    >>
    >> Debra
    >>
    >>
    >> "RMCDD997" <RMCDD997@discussions.microsoft.com> wrote in message
    >> news:9608DB1D-AE9A-4805-AB3F-CD3DF099E655@microsoft.com...
    >> >I am tracking overtime hours by department. I need to create a query
    >> >that
    >> > lists the department, and total overtime hours for a particular period.
    >> > I
    >> > did
    >> > create a query from my overtime table, but it displays each entry on a
    >> > seperate line. What I need to see is only the department name and total
    >> > hours. Like: "Parts Department 35 Hours." Thanks for your time &
    >> > help.

    >>
    >>
    >>
     

Share This Page