jesusoneez
IT Dogsbody
- Local time
- Today, 21:20
- Joined
- Jan 22, 2001
- Messages
- 109
I have tblOrders which contains order data for the past few years. I've been trying several methods to create a report to compare the order data. The method I'm currently trying involves three make table queries that creates a table containing order data for a given AccountID in the format tbl2002, tbl2003, tbl2004. I've then tried to create the report as follows.
ReportHeader
==========
AccountID
RepName
Details
=====
ReportFooter
=========
2002
=sum([tbl2002_OrderQty])
=sum([tbl2002_OrderValue])
2003
=sum([tbl2003_OrderQty])
=sum([tbl2003_OrderValue])
2004
=sum([tbl2004OrderQty])
=sum([tbl2004OrderValue])
This report takes an age to process and then gives me stupidly large figures when it finishes. The report is using tbl2002, tbl2003 and tbl2004 for its' record source. There are no relational links between these three tables. The tables all contain;
JobNoID
OrderDate
RunDate
AccountID
CustomerName
ProductNoID
RepAreaID
RepName
MachineRoute
OrderValue
OrderQuantity
SqrMtrs
Weight
SpecificationNo
Any ideas why it's giving rubbish figures?
Thanks,
Steve
ReportHeader
==========
AccountID
RepName
Details
=====
ReportFooter
=========
2002
=sum([tbl2002_OrderQty])
=sum([tbl2002_OrderValue])
2003
=sum([tbl2003_OrderQty])
=sum([tbl2003_OrderValue])
2004
=sum([tbl2004OrderQty])
=sum([tbl2004OrderValue])
This report takes an age to process and then gives me stupidly large figures when it finishes. The report is using tbl2002, tbl2003 and tbl2004 for its' record source. There are no relational links between these three tables. The tables all contain;
JobNoID
OrderDate
RunDate
AccountID
CustomerName
ProductNoID
RepAreaID
RepName
MachineRoute
OrderValue
OrderQuantity
SqrMtrs
Weight
SpecificationNo
Any ideas why it's giving rubbish figures?
Thanks,
Steve