G
Guest
I have created the following query:
TRANSFORM Count(dbo_SALEDETL.DETL_INVOI) AS CountOfDETL_INVOI
SELECT NewReleaseMasterList.UPC, Count(dbo_SALEDETL.DETL_INVOI) AS CountOfDETL_INVOI1
FROM NewReleaseMasterList LEFT JOIN dbo_SALEDETL ON NewReleaseMasterList.UPC=dbo_SALEDETL.DETL_SKU
WHERE (((dbo_SALEDETL.DETL_STAT)="S") AND ((dbo_SALEDETL.DETL_COND)="U") AND ((dbo_SALEDETL.DETL_DATE)>=#12/29/2003#))
GROUP BY NewReleaseMasterList.UPC
ORDER BY NewReleaseMasterList.UPC
PIVOT dbo_SALEDETL.StoreID;
when the DETL_DATE criteria is included I receive the following message:
Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience.
TRANSFORM Count(dbo_SALEDETL.DETL_INVOI) AS CountOfDETL_INVOI
SELECT NewReleaseMasterList.UPC, Count(dbo_SALEDETL.DETL_INVOI) AS CountOfDETL_INVOI1
FROM NewReleaseMasterList LEFT JOIN dbo_SALEDETL ON NewReleaseMasterList.UPC=dbo_SALEDETL.DETL_SKU
WHERE (((dbo_SALEDETL.DETL_STAT)="S") AND ((dbo_SALEDETL.DETL_COND)="U") AND ((dbo_SALEDETL.DETL_DATE)>=#12/29/2003#))
GROUP BY NewReleaseMasterList.UPC
ORDER BY NewReleaseMasterList.UPC
PIVOT dbo_SALEDETL.StoreID;
when the DETL_DATE criteria is included I receive the following message:
Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience.