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!

Inner Join using "Or"

Status
Not open for further replies.

cb9259

Programmer
Jun 17, 2003
2
CA
I just tried this in a query - it's an inner join on 2 fields using "Or". It won't display in design view, but it works. Is there any reason not to use it?

SELECT Employees.FirstName, Employees.LastName, Customers.FirstName, Customers.LastName
FROM Employees INNER JOIN Customers ON ((Employees.FirstName = Customers.FirstName) OR (Employees.LastName = Customers.LastName));
 
Hi!

It is perfectly okay to use, but you are correct, this is one of the many joins that Access can't display in QBE.



Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top