S
sweetpotatop
Hi,
I received "System Resource Exceeded" error when I tried to run the
following query in MS Access. This query isn't complicated at all. And
the mdb is only 12MB.
I've tried to removed one of the result column that required
calculation (e.g. TotalTapes), then it works. But I need them all.
What can I do? Please help.
SELECT Contract.RecordID,
[#ofEps].TotalEps,
IIf(IsNull([TotalSet]),0,[TotalSet])*[TotalEps] AS TotalTapes,
[Total Delivered Per Record].TotalDelivered,
[TotalTapes]-[TotalDelivered] AS Out,
IIf([Out]<0,"0",[Out]) AS Outstanding,
IIf([Out]<0 And [TotalTapes]=[TotalEps],[TotalEps],[TotalDelivered])
AS TotalDel
FROM (Contract INNER JOIN [#ofEps] ON Contract.RecordID =
[#ofEps].RecordID)
INNER JOIN [Total Delivered Per Record] ON Contract.RecordID = [Total
Delivered Per Record].RecordID
Thanks in advance.
I received "System Resource Exceeded" error when I tried to run the
following query in MS Access. This query isn't complicated at all. And
the mdb is only 12MB.
I've tried to removed one of the result column that required
calculation (e.g. TotalTapes), then it works. But I need them all.
What can I do? Please help.
SELECT Contract.RecordID,
[#ofEps].TotalEps,
IIf(IsNull([TotalSet]),0,[TotalSet])*[TotalEps] AS TotalTapes,
[Total Delivered Per Record].TotalDelivered,
[TotalTapes]-[TotalDelivered] AS Out,
IIf([Out]<0,"0",[Out]) AS Outstanding,
IIf([Out]<0 And [TotalTapes]=[TotalEps],[TotalEps],[TotalDelivered])
AS TotalDel
FROM (Contract INNER JOIN [#ofEps] ON Contract.RecordID =
[#ofEps].RecordID)
INNER JOIN [Total Delivered Per Record] ON Contract.RecordID = [Total
Delivered Per Record].RecordID
Thanks in advance.