Show results for all, including unmatched

G

Gina

Hello!

I don't know if this is possible, but here goes.

We have a database to track employee's absences, tardies,
etc. I have a report that lists all employees that
have "events" (absences, tardies, leaving early). Is
there a way to create a report that will list ALL the
employees along with their events, as well as those
employees who have no events?

I tried using the unmatched query wizard and then tried to
create a new query based on both the unmatched results and
my events table, but that really didn't work!

Can anyone give me some direction (and pardon my
inexperience)?

Thanks.
 
J

John Mishefske

Gina said:
Hello!

I don't know if this is possible, but here goes.

We have a database to track employee's absences, tardies,
etc. I have a report that lists all employees that
have "events" (absences, tardies, leaving early). Is
there a way to create a report that will list ALL the
employees along with their events, as well as those
employees who have no events?

I tried using the unmatched query wizard and then tried to
create a new query based on both the unmatched results and
my events table, but that really didn't work!

Add the employee table and the event table to your query grid.
Now create a relationship between the two tables on the common
field, most likely an Employee ID (if one doesn't appear
automatically).

Double click on the relationship line to get the Join Properties
window. Set it to retrieve all records from Employees and only
matching records from Events.

Add the fields you need in the query's output and run.
 
G

Gina

John:

Thanks so much! It works great!

Gina
-----Original Message-----


Add the employee table and the event table to your query grid.
Now create a relationship between the two tables on the common
field, most likely an Employee ID (if one doesn't appear
automatically).

Double click on the relationship line to get the Join Properties
window. Set it to retrieve all records from Employees and only
matching records from Events.

Add the fields you need in the query's output and run.


--
'-------------------------------
' John Mishefske
'-------------------------------

.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top