Soliciting Expert Guidance

DGagnon819

Registered User.
Local time
Yesterday, 21:43
Joined
Jun 17, 2006
Messages
13
Good Morning,
I am new to Access and I welcome expert guidance on the relationships of my database. The database will be used to track employee training and although I've enjoyed limited success so far I'm hoping that eventually I'll get it right.

The database has to do just a few things so it doesn't have to be very complicated. It basically has to store employee, training event, and completed training event information. The attachment shows the tables and their relationships.

The are basically two types of training that the database needs to store. The first is training that applies to everyone and the other is training that only applies to certain job specialties. These types of training are identified by the ProjectMandatoryCode and the JobCode respectively.

The ProjectMandatoryCode is a default value that is automatically entered everytime a new employee is entered into the database (EmployeeInfo table) and it is also a default value when a training event is entered into the (TrainingEventInfo table) that applies to everyone. The employee JobCode is a selection when a new employee is entered into the EmployeeInfo table.

When the user wants to enter a training event that is job specific, they are able to select a JobCode from a combo box/option group and this code is written to the record. Selecting one button from the option group writes a default value (ProjectMandatoryCode) to the TrainingEventInfo table while selecting the other button enables the combo box so that a specific JobCode can be entered against the event.

Everything works fine except... so far I've been unable to produce a report that lists every training event that pertains to the employee whether it be ProjectMandatoryCode or JobCode related. I can query and produce completed events or a list of what events are required but nothing that is complete. Ideally, I should be able to produce a complete training plan for the employee which shows all necessary events and where the employee has completed the task I should be able to show the DateCompleted.

This failure has led me to doubt my table relationships since all my efforts at various query joins have failed. Is there anyone who could enlighten me so that I could learn from this, complete this task, and apply this new knowledge to future databases? To the person with the answer, thank you in advance for your assistance. Respectfully,
Dale Gagnon
 

Attachments

Please accept my apologies for the multiple posts. The network was unresponsive and I didn't know my earlier attempts at posting had been successful.
DG
 
Had a quick look at you tables but unfortunately do not speak or read your language. However if it helps I think you may be over complicating the situation

I suggest you start with three tables

tbl_Employee

tbl_Training_Course

tbl_Employee_Course

This third table has 1 :M links from the other two tables and additionally has start and finish dates

This basically will allow you to determine exactly what training any employee has, or is going to have based upon Start and Finish dates

Maybe this will give you enough to think on and build in the training selection criteria you mentioned

Len
 
Thank You!

Len,
I went back and reviewed my relationships armed with the your suggestion. Your guidance has helped me make tremendous progress today and I want to thank you.

I've already been able to solve almost all the problem I was having and I've produced an acceptable report. The remaining queries and reports will probably take me a couple more days and then she'll be done.

Thanks again,
Dale Gagnon
 
Premature Happiness

Edited. I've posted my problem in the Design and Theory thread. Thank you.

DG
 
Last edited:

Users who are viewing this thread

Back
Top Bottom