Here is my query:
SELECT POP_RecptHistoryHeader.ReceiptType, POP_RecptHistoryHeader.ReceiptDate, POM_RecptHistoryLine.ItemNumber, POM_RecptHistoryLine.Description, POM_RecptHistoryLine.UnitOfMeasure, POM_RecptHistoryLine.ReceiptQty, POM_RecptHistoryLine.ReceiptAmount, POM_RecptHistoryLine.UnitCost
FROM POP_RecptHistoryHeader INNER JOIN POM_RecptHistoryLine ON POP_RecptHistoryHeader.ReceiptNumber = POM_RecptHistoryLine.ReceiptNumber
WHERE (((POP_RecptHistoryHeader.ReceiptType) Like "I") AND ((POP_RecptHistoryHeader.ReceiptDate)>#1/1/2005#));
I am trying to pull every invoice since 1/1/05. I cannot use standard reports b/c of the way things were done by operations is so FUBAR that I need to access the data via a report writer and modify to fit my needs.
the query hands up. I tried running it on Sunday and leaving but no data was ever returned. But the data is there when I look at the tables manually. Any suggestions as to how to fix my data.
Craig Canter
Controller
Elgin IL
SELECT POP_RecptHistoryHeader.ReceiptType, POP_RecptHistoryHeader.ReceiptDate, POM_RecptHistoryLine.ItemNumber, POM_RecptHistoryLine.Description, POM_RecptHistoryLine.UnitOfMeasure, POM_RecptHistoryLine.ReceiptQty, POM_RecptHistoryLine.ReceiptAmount, POM_RecptHistoryLine.UnitCost
FROM POP_RecptHistoryHeader INNER JOIN POM_RecptHistoryLine ON POP_RecptHistoryHeader.ReceiptNumber = POM_RecptHistoryLine.ReceiptNumber
WHERE (((POP_RecptHistoryHeader.ReceiptType) Like "I") AND ((POP_RecptHistoryHeader.ReceiptDate)>#1/1/2005#));
I am trying to pull every invoice since 1/1/05. I cannot use standard reports b/c of the way things were done by operations is so FUBAR that I need to access the data via a report writer and modify to fit my needs.
the query hands up. I tried running it on Sunday and leaving but no data was ever returned. But the data is there when I look at the tables manually. Any suggestions as to how to fix my data.
Craig Canter
Controller
Elgin IL