D
David
I get "Join expression not supported" with this query,
it worked before all I did was rename some columns:
SELECT ChangeRequest.ID, ChangeRequest.Status,
ChangeRequest.ProjectScore, ChangeRequest.Title,
ChangeRequest.Requestor, ChangeRequest.RequestDate,
ChangeRequest.Assigned_To, ChangeRequest.ProjectManager,
ChangeRequest.EstimatedStaffTime,
ChangeRequest.PreliminaryInvestment,
qryAllProjectMonthToDateHoursforReport.MTDHours,
qryAllProjectToDateHoursforReport.PTDHours AS Expr1,
[EstimatedStafftime]-[PTDHours] AS RemainOrigHrs,
ChangeRequest.EstimatedHoursToComplete, [PTDHours]/
([PTDHours]+[EstimatedHoursToComplete]) AS [%Comp],
ChangeRequest.RequestedCompletionDate
FROM qryAllProjectToDateHoursforReport, ChangeRequest LEFT
JOIN qryAllProjectMonthToDateHoursforReport ON
ChangeRequest.Title =
qryAllProjectMonthToDateHoursforReport.Title
WHERE (((ChangeRequest.Status)<>"Closed") AND
((ChangeRequest.Assigned_To)<>"NA") AND
((ChangeRequest.ProjectManager)=[Assigned_To]) AND
((ChangeRequest.Category)="Projects"))
ORDER BY ChangeRequest.Title;
it worked before all I did was rename some columns:
SELECT ChangeRequest.ID, ChangeRequest.Status,
ChangeRequest.ProjectScore, ChangeRequest.Title,
ChangeRequest.Requestor, ChangeRequest.RequestDate,
ChangeRequest.Assigned_To, ChangeRequest.ProjectManager,
ChangeRequest.EstimatedStaffTime,
ChangeRequest.PreliminaryInvestment,
qryAllProjectMonthToDateHoursforReport.MTDHours,
qryAllProjectToDateHoursforReport.PTDHours AS Expr1,
[EstimatedStafftime]-[PTDHours] AS RemainOrigHrs,
ChangeRequest.EstimatedHoursToComplete, [PTDHours]/
([PTDHours]+[EstimatedHoursToComplete]) AS [%Comp],
ChangeRequest.RequestedCompletionDate
FROM qryAllProjectToDateHoursforReport, ChangeRequest LEFT
JOIN qryAllProjectMonthToDateHoursforReport ON
ChangeRequest.Title =
qryAllProjectMonthToDateHoursforReport.Title
WHERE (((ChangeRequest.Status)<>"Closed") AND
((ChangeRequest.Assigned_To)<>"NA") AND
((ChangeRequest.ProjectManager)=[Assigned_To]) AND
((ChangeRequest.Category)="Projects"))
ORDER BY ChangeRequest.Title;