Hi John,
Thank you for your info. I have one main table that
contains all information about volunteers. I have another
table containing the details of thier training and another
with all details of the work that they have done. There
are three common fields to each table. Id number, Last
Name, and First Name. Where am I going wrong?
What is the Last Name of a training episode? It doesn't have one, of
course!
Since I have no idea what information you need to record about
"training" or "work", I can only speculate here; but I'd suggest the
following five tables. An asterisk * indicates that the field is (part
of) the Primary Key of the table:
Volunteers
*VolunteerID
LastName
FirstName
<contact info, address, phone, etc.>
with one record for each volunteer; no traiing or work information in
this table
TrainingCourses
*CourseID
Description
Each type of training (I don't know if this is really Courses, but
surely you train volunteers on different topics) would have one record
in this table; no information in this table about Volunteers
Tasks
*TaskID
Description
For instance, "Organizing Fundraiser", "Host", "Cleanup", "Database
Design", all the different kinds of things that the volunteers might
do.
VolunteerTraining
*VolunteerID <link to Volunteers, who's being trained>
*CourseID <link to Training Courses, what they were trained on>
*TrainingDate Date/Time <when>
Comments
If a volunteer is trained on six types of service, there would be six
records for that employee in VolunteerTraining.
VolunteerTasks
*VolunteerID <link to Volunteers>
*TaskID <link to Tasks>
*TaskDate
Comments
You could use a Form based on the Volunteers table, with two Subforms
based on VolunteerTraining and VolunteerTasks, to record a history of
the training and service of each volunteer, while seeing all the
information at once; you will note that it is NOT necessary (or even a
good idea) to store the volunteer's name in the Training or
VolunteerTraining tables! You'ld either use a Form/Subform, or for a
Report a Query joining the two tables to bring that information
together.