Results 1 to 8 of 8
  1. #1
    Naz is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    4

    Question Total noob needs a helping hand?

    Hiya folks,
    I'm trying to build a required training DB for the employees at work. I have exactly 2 days of experience "playing" with Access. Here is what I have so far.

    I have an employees table which includes fields for employee #(PK), first name, last name, address, department ID, and Team ID.

    I have a Department table which includes Dept ID(PK) and Dept Description

    I have a Teams table which includes Team ID(PK) and Dept ID

    I have a Courses table which includes Course #(PK), Description, format, frequency, and whether or not it is a regulatory requirement (yes/no)

    Here is what I want to be able to do.
    See employees within a department and within their respective teams. This works

    See the regulatory required courses for an employee and by department. I'm lost and have no clue

    Have an easy way to see what employees need or have completed a certain course by course number. Lost again

    Pull up a department and/or an employee and have a report of what courses are recommended for a certain year. ie. some course frequencies are 36 months so they may not need them this year. Totally lost.



    If I could please get some advice on these things I might be able to figure out the rest.

    Thanks so much,
    Naz

  2. #2
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    The first thing you need to decide is how you define required courses. Is that defined by what the course is (so it will be requried by all employees). Or will the requriement be based on what department or team that employee is in?

    These things make a huge difference in designing your table structure.

  3. #3
    Naz is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    4
    Hi Jbar,
    Thanks for the reply. Required courses are determined by Department. The only reason the teams are in there at all is for scheduling purposes. The teams work swing shift so they are only on dayshift during the week once in a month. So if I have a course, # 89777, Environmental awareness, required for Operations, FGD, and Lab staff. I want to be able to query that course number and pull up a list of employees required to take that training. I also want to be able to query a department (such as Lab) and see all the courses that dept. needs for the year. I hope I'm explaining it well?

    Thanks again,
    Naz

  4. #4
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    In this case what you will need in addition to your [department] table and [courses] table is a third table [ReqCourses] that defines what courses are required for each department.

  5. #5
    Naz is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    4
    So that would look like

    Dept_ID(PK)|Course#|Course#|Course#|



    or how? I'm sorry if this is a really dumb question but like I said in my OP the first time I opened Access was yesterday and I've been playing and reading every since. Thanks.

  6. #6
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164
    Not exactly. You could have a ReqCourse_ID as the primary key but this would not prevent someone from adding the same course back to that same dapartment more the once.

    I would use a combination of of deptID and CourseNum as your PK so that you do not end up with any duplicate records. Basically your table will have two primary keys. This will prevent somone from assinging the same course to the same dept more then once

  7. #7
    Naz is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2010
    Posts
    4
    Ok so lets say that Lab is required to attend 50 training courses for this year. I need to name the first field Dept_ID and make it a primary key. Then I need to add 50 more fields for the course numbers? I guess I'm not seeing how this will work. Some departments are required to take more than a hundred classes in a year so how will I make them PKs as well?

  8. #8
    jbarrum is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Apr 2009
    Location
    Houston, Tx
    Posts
    164

    Example Attached

    Naz,

    I have attached a small DB tha I put together to help you get started. This is only a starting point, as I am not fully aware of exactly what informtion you need to store or how you need to see or report on that information. However, take a look at teh table relationships and you will get a better understanding of what I was talking about.

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

Similar Threads

  1. Noob needing answers
    By sartan2002 in forum Access
    Replies: 0
    Last Post: 10-13-2009, 08:39 AM
  2. HELP NOOB! Easy question
    By SigmaBlu in forum Queries
    Replies: 1
    Last Post: 10-10-2009, 11:23 AM
  3. Complete, noob help with where to start?
    By tragik in forum Queries
    Replies: 2
    Last Post: 06-29-2009, 09:20 AM
  4. Noob Query Help Needed
    By fenster89411 in forum Queries
    Replies: 0
    Last Post: 01-11-2009, 09:47 AM
  5. noob prob, generating next report
    By flash319 in forum Reports
    Replies: 2
    Last Post: 08-04-2008, 03:10 PM

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