L
lda via AccessMonster.com
From my report, Wetlab_Backlog, I am getting the following errors: "syntax
error in from clause" for all three fields were i use ECount.
=ECount("[test]","DE_BACKLOG07-21-2008_BK0094")
=eCount("[samplenumber]","DE_BACKLOG07-21-2008_BK0094","samplenumber",True)
=eCount("[orderid]","DE_BACKLOG07-21-2008_BK0094","samplenumber",True)
I have tried to designate what table the field is coming from like =ECount("
[sampledetails].[test]","DE_BACKLOG07-21-2008_BK0094")
The SQL for the report is:
SELECT SampleDetails.Test, SampleDetails_Params.Param, Tests.TestGroup, Tests.
Description, Tests.BottleType, Tests.Method, SampleDetails.Matrix, Tests.
AnalysisHoldingTime, SampleDetails.OrderID, SampleDetails.SampleNumber,
OrderDetails.CustomerSampleNumber, OrderDetails.Site, SampleDetails.DueDate,
SampleDetails.DueDateFlag, SampleDetails.HasResults, OrderDetails.ReceiveFlag,
([DueDate]-Date()-2) AS TeststillDays, Tests.SamplingMethod, Orders.SignOff
FROM (((SampleDetails LEFT JOIN Tests ON (SampleDetails.Matrix = Tests.Matrix)
AND (SampleDetails.Test = Tests.Test)) LEFT JOIN OrderDetails ON
(SampleDetails.OrderID = OrderDetails.OrderID) AND (SampleDetails.
SampleNumber = OrderDetails.SampleNumber)) LEFT JOIN SampleDetails_Params ON
(SampleDetails.Test = SampleDetails_Params.Test) AND (SampleDetails.
SampleNumber = SampleDetails_Params.SampleNumber) AND (SampleDetails.OrderID
= SampleDetails_Params.OrderID)) LEFT JOIN Orders ON SampleDetails.OrderID =
Orders.OrderID
WHERE (((Tests.BottleType) Like "Wet**") AND ((Orders.SignOff)=True))
ORDER BY SampleDetails.DueDate;
I have used the Ecount function before similar to as above... It was SLOW,
but worked.. why isn't it working now????
Thanks,
LDA
p.s. how can i make calculation faster?
error in from clause" for all three fields were i use ECount.
=ECount("[test]","DE_BACKLOG07-21-2008_BK0094")
=eCount("[samplenumber]","DE_BACKLOG07-21-2008_BK0094","samplenumber",True)
=eCount("[orderid]","DE_BACKLOG07-21-2008_BK0094","samplenumber",True)
I have tried to designate what table the field is coming from like =ECount("
[sampledetails].[test]","DE_BACKLOG07-21-2008_BK0094")
The SQL for the report is:
SELECT SampleDetails.Test, SampleDetails_Params.Param, Tests.TestGroup, Tests.
Description, Tests.BottleType, Tests.Method, SampleDetails.Matrix, Tests.
AnalysisHoldingTime, SampleDetails.OrderID, SampleDetails.SampleNumber,
OrderDetails.CustomerSampleNumber, OrderDetails.Site, SampleDetails.DueDate,
SampleDetails.DueDateFlag, SampleDetails.HasResults, OrderDetails.ReceiveFlag,
([DueDate]-Date()-2) AS TeststillDays, Tests.SamplingMethod, Orders.SignOff
FROM (((SampleDetails LEFT JOIN Tests ON (SampleDetails.Matrix = Tests.Matrix)
AND (SampleDetails.Test = Tests.Test)) LEFT JOIN OrderDetails ON
(SampleDetails.OrderID = OrderDetails.OrderID) AND (SampleDetails.
SampleNumber = OrderDetails.SampleNumber)) LEFT JOIN SampleDetails_Params ON
(SampleDetails.Test = SampleDetails_Params.Test) AND (SampleDetails.
SampleNumber = SampleDetails_Params.SampleNumber) AND (SampleDetails.OrderID
= SampleDetails_Params.OrderID)) LEFT JOIN Orders ON SampleDetails.OrderID =
Orders.OrderID
WHERE (((Tests.BottleType) Like "Wet**") AND ((Orders.SignOff)=True))
ORDER BY SampleDetails.DueDate;
I have used the Ecount function before similar to as above... It was SLOW,
but worked.. why isn't it working now????
Thanks,
LDA
p.s. how can i make calculation faster?