M
Matt
I have a query based off of many other queries and it contains a ton of outer
joins. What i want the query to do is spit out one record at the end...and it
works in that regard. My problem comes when I try using the serverfilter
property in my Data Access Page that is based off of this query. It returns
nothing. I tried some debugging and discovered that even making a new query
that is based off this last query, it doesn't even work. I think there's
something wrong with Access and OUTER JOINS. Here is my query:
SELECT TOP 1 EmployeeTable.EmployeeID AS EmpID, UpdaterQuery.EntryDate,
UpdaterQuery.Updater, DevActionQuery.DevAction, TimeFrameQuery.TimeFrame,
PossibleQuery.Possible, AdditionalQuery.Additional, FRFLeaderQuery.FRFLeader,
FRFCompQuery.FRFComp, FRFJobQuery.FRFJob, FRFPressureQuery.FRFPressure,
FRFOrgQuery.FRFOrg, FRFOtherQuery.FRFOther, ReadinessQuery.Readiness,
WillingQuery.Willing, EmployeeTable.*
FROM ((((((((((((EmployeeTable LEFT JOIN TimeFrameQuery ON
EmployeeTable.EmployeeID = TimeFrameQuery.EmployeeID) LEFT JOIN
DevActionQuery ON EmployeeTable.EmployeeID = DevActionQuery.EmployeeID) LEFT
JOIN AdditionalQuery ON EmployeeTable.EmployeeID =
AdditionalQuery.EmployeeID) LEFT JOIN PossibleQuery ON
EmployeeTable.EmployeeID = PossibleQuery.EmployeeID) LEFT JOIN FRFCompQuery
ON EmployeeTable.EmployeeID = FRFCompQuery.EmployeeID) LEFT JOIN FRFJobQuery
ON EmployeeTable.EmployeeID = FRFJobQuery.EmployeeID) LEFT JOIN
FRFLeaderQuery ON EmployeeTable.EmployeeID = FRFLeaderQuery.EmployeeID) LEFT
JOIN FRFOrgQuery ON EmployeeTable.EmployeeID = FRFOrgQuery.EmployeeID) LEFT
JOIN FRFOtherQuery ON EmployeeTable.EmployeeID = FRFOtherQuery.EmployeeID)
LEFT JOIN FRFPressureQuery ON EmployeeTable.EmployeeID =
FRFPressureQuery.EmployeeID) LEFT JOIN ReadinessQuery ON
EmployeeTable.EmployeeID = ReadinessQuery.EmployeeID) LEFT JOIN UpdaterQuery
ON EmployeeTable.EmployeeID = UpdaterQuery.EmployeeID) LEFT JOIN WillingQuery
ON EmployeeTable.EmployeeID = WillingQuery.EmployeeID;
Please help!
Thanks,
Matt
joins. What i want the query to do is spit out one record at the end...and it
works in that regard. My problem comes when I try using the serverfilter
property in my Data Access Page that is based off of this query. It returns
nothing. I tried some debugging and discovered that even making a new query
that is based off this last query, it doesn't even work. I think there's
something wrong with Access and OUTER JOINS. Here is my query:
SELECT TOP 1 EmployeeTable.EmployeeID AS EmpID, UpdaterQuery.EntryDate,
UpdaterQuery.Updater, DevActionQuery.DevAction, TimeFrameQuery.TimeFrame,
PossibleQuery.Possible, AdditionalQuery.Additional, FRFLeaderQuery.FRFLeader,
FRFCompQuery.FRFComp, FRFJobQuery.FRFJob, FRFPressureQuery.FRFPressure,
FRFOrgQuery.FRFOrg, FRFOtherQuery.FRFOther, ReadinessQuery.Readiness,
WillingQuery.Willing, EmployeeTable.*
FROM ((((((((((((EmployeeTable LEFT JOIN TimeFrameQuery ON
EmployeeTable.EmployeeID = TimeFrameQuery.EmployeeID) LEFT JOIN
DevActionQuery ON EmployeeTable.EmployeeID = DevActionQuery.EmployeeID) LEFT
JOIN AdditionalQuery ON EmployeeTable.EmployeeID =
AdditionalQuery.EmployeeID) LEFT JOIN PossibleQuery ON
EmployeeTable.EmployeeID = PossibleQuery.EmployeeID) LEFT JOIN FRFCompQuery
ON EmployeeTable.EmployeeID = FRFCompQuery.EmployeeID) LEFT JOIN FRFJobQuery
ON EmployeeTable.EmployeeID = FRFJobQuery.EmployeeID) LEFT JOIN
FRFLeaderQuery ON EmployeeTable.EmployeeID = FRFLeaderQuery.EmployeeID) LEFT
JOIN FRFOrgQuery ON EmployeeTable.EmployeeID = FRFOrgQuery.EmployeeID) LEFT
JOIN FRFOtherQuery ON EmployeeTable.EmployeeID = FRFOtherQuery.EmployeeID)
LEFT JOIN FRFPressureQuery ON EmployeeTable.EmployeeID =
FRFPressureQuery.EmployeeID) LEFT JOIN ReadinessQuery ON
EmployeeTable.EmployeeID = ReadinessQuery.EmployeeID) LEFT JOIN UpdaterQuery
ON EmployeeTable.EmployeeID = UpdaterQuery.EmployeeID) LEFT JOIN WillingQuery
ON EmployeeTable.EmployeeID = WillingQuery.EmployeeID;
Please help!
Thanks,
Matt