Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List All

Status
Not open for further replies.

Ammodog

Technical User
Dec 13, 2002
97
US
How can I , I have an Employee Table and lets say an Emergency Time Used Table. I am trying to create a query that list's all employee's with there Emergency time used. I have the relationship between the two. But the query only brings up employees that are in both the Employee and the Emergency time used table. How can I list those who have not used any emergency time in the query as well. Thanks for the help Christopher Abney
"There is no limit to the good you can do if you dont care who gets the credit"
[Afro2]
 
Try using a LEFT JOIN something like this:

SELECT *
FROM employee LEFT JOIN emer_time_used ON [employee].[emp_id] = [emer_time_used].[emp_id];


 
Or change the join properties in the relationship window. Leslie
landrews@metrocourt.state.nm.us

There are 10 types of people in the world -
those who understand binary
and
those who don't!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top