Welcome to SPN

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

Sign Up Now!
  1. Monthly (Recurring) Target: $300 :: Achieved: $95
      Become a Supporter    ::   Make a Contribution   

Add to certain values based on another field in the database

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

  1. Luna Saisho

    Luna Saisho
    Expand Collapse
    Guest

    Hiya!

    I have made a database to track our warehouse employees that's coming along
    great! But, believe it or not, I'm stuck in one area. :) I'm not an expert
    by any means with Access, but I have a good grip on what I'm doing now.

    So here's the deal... Of all the information entered, I need to have a
    report add up values based on the area they worked in. I have one field that
    allows you to select where they worked, such as Shipping or Palletizer, and
    two other fields, shift and hours. Shift and hours tell us what shift they
    worked, and how many hours they worked for.

    So what I need help with, is if, say... one person works 8 hours in
    Shipping, it needs to add their hours to a Shipping Hours value, and if they
    worked in Palletizer, it would have to go to a Palletizer value, and so on
    for five different catagories. Then I just average pallets handled with the
    hours for that area in the report, which is the easy bit.

    Can anyone lend a hand pointing me in the right direction?

    Thanks!!
    Steph
     
  2. Loading...


  3. Luna Saisho

    Luna Saisho
    Expand Collapse
    Guest

    I realize I didn't describe things well enough, so here's some bits that I
    think might help someone help me... The layout of the report I'm working on
    is something like this:

    Employee name
    ------------------------
    Date Stats for the various areas (This line repeats
    for all dates requested)
    Area worked
    ------------------------
    Summary/Averages of above information
    ------------------------
    Summary of all areas, shown at bottom of report

    It's that summary at the bottom that I'm having issues with. In order to
    get the right averages of pallets handled, I need to add the hours in the
    Date lines for each catagory.

    If anyone can help, it would be so very appreciated.
    Thanks!
    Steph
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page