> You are correct about the report. When I tried to make the change, I got a
> "Join Expression not Supported", and "Ambiguous Outter Join" message??

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
Here it is:
SELECT Customer.CustomerID, Customer.FirstName, Customer.LastName,
Customer.Phone, Orders.OrderID, Orders.Room, Orders.TodaysDate,
Orders.StartDate, Orders.EndDate, Orders.ArriveTime, Orders.StartTime,
Orders.EndTime, Orders.Notes, Products.ProductID, Products.ProductName,
Orders.RoomID, [Order Details].Quanity, [Order Details].Days
FROM (Customer INNER JOIN Orders ON Customer.CustomerID = Orders.CustomerID)
INNER JOIN (Products INNER JOIN [Order Details] ON Products.ProductID =
[Order Details].ProductID) ON Orders.OrderID = [Order Details].OrderID;
Thanks
> > You are correct about the report. When I tried to make the change, I got a
> > "Join Expression not Supported", and "Ambiguous Outter Join" message??
>
> It can get tricky if you're joining more thanjust one table. If you'll post
> the original SQL of the report's recordsource, maybe we can suggest a
> version that will work.
Ron Weaver - 09 Apr 2008 15:31 GMT
I tried an additional Join. The form is working now. This is my SQL.
SELECT Customer.CustomerID, Customer.FirstName, Customer.LastName,
Customer.Phone, Orders.OrderID, Orders.Room, Orders.TodaysDate,
Orders.StartDate, Orders.EndDate, Orders.ArriveTime, Orders.StartTime,
Orders.EndTime, Orders.Notes, Products.ProductID, Products.ProductName,
Orders.RoomID, [Order Details].Quanity, [Order Details].Days
FROM (Customer INNER JOIN Orders ON Customer.CustomerID = Orders.CustomerID)
LEFT JOIN (Products RIGHT JOIN [Order Details] ON Products.ProductID = [Order
Details].ProductID) ON Orders.OrderID = [Order Details].OrderID;
Thanks for pointing me in the right direction.
> Here it is:
> SELECT Customer.CustomerID, Customer.FirstName, Customer.LastName,
[quoted text clipped - 13 lines]
> > the original SQL of the report's recordsource, maybe we can suggest a
> > version that will work.