Newbie on forum. Only semi-newbie on Access
We are still on Access 2003 and I am reporting from Project Server 2007 - so that is SQL Server. 2008 I think but could check.
Jet DLL version is 4.00.9511.0 (XP Sp3)
My target query will have GROUP BY but one column (resourceName) showed as null even though I know there are matches.
I can reproduce the problem without the GROUP BY - that does not seem to be the issue
Have seen simialr issues several times and was trying to live with it. But would like to solve it.
All of the source tables are in fact Views
- Projects
- Left Joins to Resource table using ProjectOwnerResourceUID
- Left Joins to Task table using Task UID
INNER join works Ok and shows ResourceName with values
LEFT JOIN has the following strange behaviour:
- remove Resourcename from query and just show the resourceID from resource Table. Values come up for ResourceUID (in teh resource table) showing a match
- OR move Taskname from teh query. Values come up for ResourceName showing a match
- OR (keep TaskName) and add a second field from teh Task table. Values come up from resourceName showing a match
I guess I have my workaround (3 above - add the 2nd field from Task) but what is going on?
MikeCro
Query SQl is
Code:
SELECT dbo_MSP_EpmProject_UserView.ProjectName, dbo_MSP_EpmProject_UserView.ProjectFinishDate, dbo_Custom_ts_Resource.ResourceUID, dbo_Custom_ts_Resource.ResourceName, dbo_MSP_EpmTask_UserView.TaskName
FROM (dbo_MSP_EpmProject_UserView LEFT JOIN dbo_MSP_EpmTask_UserView ON dbo_MSP_EpmProject_UserView.ProjectUID = dbo_MSP_EpmTask_UserView.ProjectUID) LEFT JOIN dbo_Custom_ts_Resource ON dbo_MSP_EpmProject_UserView.ProjectOwnerResourceUID = dbo_Custom_ts_Resource.ResourceUID;