showing zeros when no amount

M

mon

Hi All helpers,
In my report I am trying to get either zero in the sum
total. I've tried NulltoZero, but I think it is really
empty. On some of the other reports I would like the
label and field not to show at all if there is no amount.
Thanks
Mon
 
G

Gary Miller

You say you have tried NulltoZero. Have you tried Nz()?

Sum(Nz([Amount],0))

You would need an event trigger for hiding the control. When
you figure out which one is the best one on your form you
can use...

If Me![YourControlName] < .01 Then
Me![YourControlName].Visible = False
Else
Me![YourControlName].Visible = True
End If

--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
 

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