S
Steve
I am new to access have had a little training but just can't figure
out what I'm doing wrong here.
My database is built of off basically two tables, one an "Employee
Information" table and the other an "Education/Course Table" I then
have a thrid table that is a junction table. This third table (Class
Input Table) basically tracks which employees attended what
educational offerings.
I have built a query to give me a list of employees who are CNAs and
what classes they have taken, and pulling in some additional
information from the two parent tables for a report.
My report is mostly correct, but, for a couple of employees, It is
pulling 1 out of 5 records from the Class imput, I mean to say the
table is showing that Employee A has attended 5 classes, but the query
is only listing one. Has this happened to anyone else? How do I get
all of the query to list everything? I have copied and pasted query
SQL below. Thanks in advance.
SQL:
SELECT [All Employee Data].[Last Name], [All Employee Data].[First
Name], [All Employee Data].[Job Class], [Education/Courses].Presenter,
[Education/Courses].[60 minute Clock hours], [All Employee Data].
[Staff ID], [Class Input Table].Topic, [All Employee Data].Location
FROM [Education/Courses] INNER JOIN ([All Employee Data] INNER JOIN
[Class Input Table] ON [All Employee Data].[Full Name] = [Class Input
Table].[Full Name]) ON [Education/Courses].Topic = [Class Input
Table].Topic
WHERE ((([All Employee Data].[Job Class])="CNA"))
ORDER BY [All Employee Data].[Last Name], [All Employee Data].[First
Name];
out what I'm doing wrong here.
My database is built of off basically two tables, one an "Employee
Information" table and the other an "Education/Course Table" I then
have a thrid table that is a junction table. This third table (Class
Input Table) basically tracks which employees attended what
educational offerings.
I have built a query to give me a list of employees who are CNAs and
what classes they have taken, and pulling in some additional
information from the two parent tables for a report.
My report is mostly correct, but, for a couple of employees, It is
pulling 1 out of 5 records from the Class imput, I mean to say the
table is showing that Employee A has attended 5 classes, but the query
is only listing one. Has this happened to anyone else? How do I get
all of the query to list everything? I have copied and pasted query
SQL below. Thanks in advance.
SQL:
SELECT [All Employee Data].[Last Name], [All Employee Data].[First
Name], [All Employee Data].[Job Class], [Education/Courses].Presenter,
[Education/Courses].[60 minute Clock hours], [All Employee Data].
[Staff ID], [Class Input Table].Topic, [All Employee Data].Location
FROM [Education/Courses] INNER JOIN ([All Employee Data] INNER JOIN
[Class Input Table] ON [All Employee Data].[Full Name] = [Class Input
Table].[Full Name]) ON [Education/Courses].Topic = [Class Input
Table].Topic
WHERE ((([All Employee Data].[Job Class])="CNA"))
ORDER BY [All Employee Data].[Last Name], [All Employee Data].[First
Name];