B
Bob
I've got a very strange problem. I was using DSum in a report to add up
results over time. Occasionally, the results came back with the correct
magnitude but the wrong sign. Trying to work around this I wrote a separate
query to generate the data I wanted. In this query the signs were correct.
Using DLookup to pull from this new query some of the signs are wrong again.
Any idea what I'm doing to cause this. See Control Source line below.
=DLookUp("[SumReturn]","[qryPctChange]","[qryPctChange].[Ticker] = " &
Chr(34) & [Ticker] & Chr(34))
results over time. Occasionally, the results came back with the correct
magnitude but the wrong sign. Trying to work around this I wrote a separate
query to generate the data I wanted. In this query the signs were correct.
Using DLookup to pull from this new query some of the signs are wrong again.
Any idea what I'm doing to cause this. See Control Source line below.
=DLookUp("[SumReturn]","[qryPctChange]","[qryPctChange].[Ticker] = " &
Chr(34) & [Ticker] & Chr(34))