Hi all,
I have a query (Query1) which includes a field "TimeDiff" which is produced by the following expression:
DateDiff("n", Query1.Time, Query1.PickupTime) AS TimeDiff
This works fine. The problem I am having is that when I try to run a sum expression on this field as:
Sum(Query1.TimeDiff)
The query runs so slowly as to be unusable. It does provide the correct answer eventually but it takes up to 10 minutes...
Can anyone provide an answer as to why the query is running so slowly?
How can I get the same result without the delays?
Thanks