C
corybradshaw
I have a query that works in SQL Server, but when I attempt to run it
in Access 2003 it tells me that "Join expression not supported". I can
build the query with the Access query builder, and it will give me a
functioning query, but when I copy it and try to run it in SQL View it
will give me the error again. Here is the query:
SELECT * FROM ((DigActivity LEFT JOIN Nominal_Diameter ON
DigActivity.ODNominal = Nominal_Diameter.Diameterid) INNER JOIN Tasks
ON DigActivity.TaskID = Tasks.Taskid) LEFT JOIN GPS_Data ON
DigActivity.GPSID = GPS_Data.GPSID, Units INNER JOIN Unit_Assign ON
Units.UnitID = Unit_Assign.UnitID WHERE (((Tasks.Taskid)=246) AND
((Unit_Assign.UnitTypeID)=5) AND ((Unit_Assign.UnitSetID)=1));
I have read that in Access there is an issue with regards to what order
you put your joins in. However, how do you handle ordering the joins
with the second part of the query (Units INNER JOIN Unit_Assign)? The
query will run if I remove the Units portion, but regardless of where I
put it in the query I receive the "Join expression not supported"
error.
Is there something I'm missing?
in Access 2003 it tells me that "Join expression not supported". I can
build the query with the Access query builder, and it will give me a
functioning query, but when I copy it and try to run it in SQL View it
will give me the error again. Here is the query:
SELECT * FROM ((DigActivity LEFT JOIN Nominal_Diameter ON
DigActivity.ODNominal = Nominal_Diameter.Diameterid) INNER JOIN Tasks
ON DigActivity.TaskID = Tasks.Taskid) LEFT JOIN GPS_Data ON
DigActivity.GPSID = GPS_Data.GPSID, Units INNER JOIN Unit_Assign ON
Units.UnitID = Unit_Assign.UnitID WHERE (((Tasks.Taskid)=246) AND
((Unit_Assign.UnitTypeID)=5) AND ((Unit_Assign.UnitSetID)=1));
I have read that in Access there is an issue with regards to what order
you put your joins in. However, how do you handle ordering the joins
with the second part of the query (Units INNER JOIN Unit_Assign)? The
query will run if I remove the Units portion, but regardless of where I
put it in the query I receive the "Join expression not supported"
error.
Is there something I'm missing?