First of all, I know that it is hard for you IT geniuses not to look down on
people like me, but I just need help. If you can help me, please stay
respectful. I am a beginner.
I apologize, Lyne. I'm just trying to keep you from making a bad mistake.
I have 6 tables, one for each production line.
And that's a mistake too, I fear! Storing data in tablenames is good
spreadsheet design but it's simply WRONG for relational databases. A much
better design would have *one* table with a field for the production line.
Each table has all training
given and received for all employees on that line.
With the properly normalized design, if an employee has been trained on five
lines she'd have five rows in the table, and a simple join query would show
her name and personal data repeated five times (one for each record) and the
five training rows.
The table would have fields like Employee (name, or I'd really suggest ID; you
can use an autonumber), ProductionLine (which line they were trained on),
TrainingDate, any other information about this employee's training on this
line.
It's *crucial* to get your table design right to start with; otherwise you'll
have to spend all your time working around it with complicated queries and
code.
What I need to be able to
pull up is all training that each employee has received. That is why I
thought queries might help me. One query per employee....Some employees
received training on several lines, so I imagine that relationships must play
a roll.
You certainly do NOT need one query per employee!! Instead consider a
"Parameter Query" - one of the most useful features of Access. Instead of a
criterion like
"Joe Schmoe"
use a criterion
[Enter employee name:]
Or, much better, use a little form frmCrit with a combo box cboEmployee
selecting all the employees and a criterion
[Forms]![frmCrit]![cboEmployee]
This will be easier for the user, as well as saving you from having to create
a new query whenever anyone changes jobs.
Also, the data must be editable as employees receive training often.
Of course.
ALSO, the person I am doing this for is not very familiar with Access, (yes,
even less than me) so I want to put this information into forms..and forms
are not a problem for me.
That's exactly what I'm suggesting: putting the data in Tables, using Queries
to manage the data, and editing and displaying it on Forms. You're on the
right track - keep going!
SO, i need help with relationships and queries...put in layman's terms please.
Try some of these resources, especially Crystal's tutorial:
Jeff Conrad's resources page:
http://www.accessmvp.com/JConrad/accessjunkie/resources.html
The Access Web resources page:
http://www.mvps.org/access/resources/index.html
Roger Carlson's tutorials, samples and tips:
http://www.rogersaccesslibrary.com/
A free tutorial written by Crystal:
http://allenbrowne.com/casu-22.html
A video how-to series by Crystal:
http://www.YouTube.com/user/LearnAccessByCrystal
MVP Allen Browne's tutorials:
http://allenbrowne.com/links.html#Tutorials