M
Mark Carlyle via AccessMonster.com
I am trying to work with Dsum in a query... but I get a multiplication of the
data. If there are 3 positive numbers in the dsum it multiplies the data x 3
if 4 then x4 etc. I have no clue why this is happening and why it only
happens with the positive numbers, but I am frustrated with the problem.
the dsum is like this.... (all one line of course)
Daily Balance: Format(DSum([total],"Transactions","datepart('d',[Date])<=" &
[Aday] & " and datepart('m',[Date])<=" & [AMonth] & " and datepart('yyyy',
[Date])<=" & [Ayear] & " and [trustacctnumber]=" & [trustalias] & ""),"$0.00")
total is a calculated value of credit - debit on the query
trustalias is assigned trustacctnumber in the query. It is a 8 digit number
TIA
data. If there are 3 positive numbers in the dsum it multiplies the data x 3
if 4 then x4 etc. I have no clue why this is happening and why it only
happens with the positive numbers, but I am frustrated with the problem.
the dsum is like this.... (all one line of course)
Daily Balance: Format(DSum([total],"Transactions","datepart('d',[Date])<=" &
[Aday] & " and datepart('m',[Date])<=" & [AMonth] & " and datepart('yyyy',
[Date])<=" & [Ayear] & " and [trustacctnumber]=" & [trustalias] & ""),"$0.00")
total is a calculated value of credit - debit on the query
trustalias is assigned trustacctnumber in the query. It is a 8 digit number
TIA