My progress so far on a union query:
Code:
SELECT [Route Origin City],[Rail Carrier 1],[Interchange 1],[Rail Carrier 2],[Interchange 2],[Rail Carrier 3],[Route Destination]
FROM [Rail Routing Table]
INNER JOIN [Rail rate data]
ON [Rail Routing Table].[OrgCarrierStop1]=[Rail rate data].[Rate Route ID]
INNER JOIN [Rail Volumes]
ON [Rail Routing Table].[OrgCarrierStop1]=[Rail Volumes].[Volume Route ID]
UNION ALL SELECT [TRI-LEVEL],[BI-LEVEL],[AUTO-MAX BI-LEVEL],[EFFECTIVE DATE],[EFFECTIVE THRU]
FROM [Rail rate data]
INNER JOIN [Rail Routing Table]
ON [Rail rate data].[Rate Route ID]=[Rail Routing Table].[OrgCarrierStop1]
ON [Rail Routing Table].[OrgCarrierStop1]=[Rail rate data].[Rate Route ID]
UNION ALL SELECT [Sum of TRI-LEVEL],[Sum of BI-LEVEL],[Sum of AUTO-MAX BI-LEVEL]
FROM [Rail Volumes]
INNER JOIN [Rail Routing Table]
ON [Rail Volumes].[Volume Rail ID]=[Rail Routing Table].[OrgDest]
I now get the error: The Microsoft Office Access database engine could not find the object ". Make sure the object exists and that you spell its name and the file path correctly.
I could maybe spell it correctly if it had more characters than ". Am I missing quotes that should be somewhere?
x-posted to Queries