Results 1 to 3 of 3
  1. #1
    nmcentire is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    2

    Look up values in multiple table fields

    I am a novice at access and am almost done creating my program. Our company is a large snow removal contractor and we needed a program that we could track our field crews with in real time, record the data and export the data to our accounting software. For each property that we plow we could possibly have up to 10 people on site. So I have a master employee table. I have a plowing table that has the 10 fields for employees and those fields look at the employee table to provide a drop down box to select the employees working that site. The plowing table then tracks each employees start and stop time for that property for billing purpuses. Now I want to export their time to my accounting software, which works fine for the time spent on the actual property. But I can't figure out how to total up a single employees time, becuase that employee could show up in any one of 10 fields for multiple properties. I would like to create a query that searches all ten fields and if the name in any of the 10 matches a name in my employee master list, then create the record and group it by the employee so I can total their associated time. Any ideas how I could find my employees and group them when they could be in any of the 10 fields?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The employees on jobs at properties should be in a separate table instead of in separate fields in the one table. It sounds like a refresher course in Normalization might be in order.

  3. #3
    weekend00 is offline I may not be right
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    1,295
    I would redesign the tables to avoid those kinds of nightmares.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 11-13-2010, 08:08 AM
  2. Replies: 5
    Last Post: 09-14-2010, 09:50 PM
  3. Replies: 3
    Last Post: 04-04-2010, 05:26 PM
  4. Replies: 1
    Last Post: 12-10-2009, 08:41 PM
  5. One table multiple fields identical properties.
    By swampdonkey in forum Queries
    Replies: 2
    Last Post: 09-29-2006, 10:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums