A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Zero Suppress



 
 
Thread Tools Display Modes
  #1  
Old March 31st, 2010, 01:42 PM posted to microsoft.public.access.reports
Peter Marshall
external usenet poster
 
Posts: 7
Default Zero Suppress

This is probably very simple: I have a report that displays many columns of
numbers, many of which are zeroes. To make the report more readable, I
would like to suppress the zero values so that the only #'s that display are
non-zero values. How can I do this?

--

Peter Marshall
Manager Information Services
Ohio Coatings Company


  #2  
Old March 31st, 2010, 02:32 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Zero Suppress

Peter Marshall wrote:

This is probably very simple: I have a report that displays many columns of
numbers, many of which are zeroes. To make the report more readable, I
would like to suppress the zero values so that the only #'s that display are
non-zero values.


Use a custom format on the text boxes where you want to do
that. If the numbers are Currency type the format might be
something like:
$#,##0.00;($#,##0.00);""

See the Format Property topic in VBA Help for all the
formatting codes that can be used, Pay close attention to
the four different sections for positive, negative, zero and
Null values.

--
Marsh
MVP [MS Access]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.