Running Totals not working after zero cell

D

dje

I am trying to recreate a bank statement.

Rightly or wrongly I have pulled into the report a calculation for the
balance movement each day (based on queries calculating several transactions
for that day).
The running sum works until there is no movement for a day which shows in
the report as a "0" most likely through a "Nz([ ],0)" calculation after which
it stops calculating. e.g.
Move Run Bal
1/1/08 +100 100
2/1/08 +50 150
3/1/08 0 150
4/1/08 +25 150 etc etc

Is there any way to fix this?

Thanks
 
A

Allen Browne

Post the expression behind this field.

JET regularly misunderstands the data type when Nz() is used. There may be
another way to craft the expression.
 
D

dje

Unfortunately I lost the report and cannot recreate the problem but I suspect
it related to NZ results being treated as non numeric. Through another thread
I have become aware of the CDbl and format functions and am hopeful this will
resolve my problem.

Thanks anyway.

Allen Browne said:
Post the expression behind this field.

JET regularly misunderstands the data type when Nz() is used. There may be
another way to craft the expression.

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

dje said:
I am trying to recreate a bank statement.

Rightly or wrongly I have pulled into the report a calculation for the
balance movement each day (based on queries calculating several
transactions
for that day).
The running sum works until there is no movement for a day which shows in
the report as a "0" most likely through a "Nz([ ],0)" calculation after
which
it stops calculating. e.g.
Move Run Bal
1/1/08 +100 100
2/1/08 +50 150
3/1/08 0 150
4/1/08 +25 150 etc etc

Is there any way to fix this?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top