I have two tables I am trying to join and most of the records have null values in the field I am using to join.
I am getting an error:
Reserved Error(-5500);there is no message for this error.
Here is the SQL for the query
TRANSFORM Sum(tblCSLData.QTYOrdered) AS SumOfQTYOrdered
SELECT tblRCodes.RExplain, tblCSLData.DistCenter
FROM tblCSLData INNER JOIN tblRCodes ON (nz(tblCSLData.Rc,"n/a")) = (nz(tblRCodes.RCode,"n/a"))
GROUP BY tblCSLData.EscrV, tblRCodes.RExplain, tblCSLData.DistCenter
ORDER BY tblRCodes.RExplain, tblCSLData.DistCenter
PIVOT Format([orderdate],"mmm-yy");
Any ideas?
I am getting an error:
Reserved Error(-5500);there is no message for this error.
Here is the SQL for the query
TRANSFORM Sum(tblCSLData.QTYOrdered) AS SumOfQTYOrdered
SELECT tblRCodes.RExplain, tblCSLData.DistCenter
FROM tblCSLData INNER JOIN tblRCodes ON (nz(tblCSLData.Rc,"n/a")) = (nz(tblRCodes.RCode,"n/a"))
GROUP BY tblCSLData.EscrV, tblRCodes.RExplain, tblCSLData.DistCenter
ORDER BY tblRCodes.RExplain, tblCSLData.DistCenter
PIVOT Format([orderdate],"mmm-yy");
Any ideas?