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  

Decimal places..



 
 
Thread Tools Display Modes
  #11  
Old July 25th, 2007, 03:07 PM posted to microsoft.public.access.reports
stephendeloach via AccessMonster.com
external usenet poster
 
Posts: 148
Default Decimal places..

Sorry. Yes it is in a Report that I dont need the 0's to show. Show what
would I need to put in the query in order not to show the 0's? Thanks

Jeff Boyce wrote:
Your original post mentioned a "form", but you've posted in a "reports"
newsgroup. I'll assume you are talking about a report definition.

You could do the 0 == nothing conversion in a query you use to feed the
report, or you could use the report's OnFormat event to have Access decide,
for each detail record, what value to place in that textbox control. I'd
probably go with the former, so that the data coming into the report is
already cleaned up.

Regards

Jeff Boyce
Microsoft Office/Access MVP

When i change it, it works fine but it also shows 0. I need it to show a
blank when there is a 0..

[quoted text clipped - 11 lines]
18.0
Thanks


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/200707/1

  #12  
Old July 26th, 2007, 12:59 AM posted to microsoft.public.access.reports
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Decimal places..

If you are saying that your underlying data has rows for which you don't
want to see the row if the field is zero, use the selection criterion to
exclude those rows.

If you want to set a value of 0 in a field to Null, you could use an
expression something like:
NewValue: IIF([YourField]=0, Null,[YourField])

Regards

Jeff Boyce
Microsoft Office/Access MVP


"stephendeloach via AccessMonster.com" u32891@uwe wrote in message
news:75b3f53f6baca@uwe...
Sorry. Yes it is in a Report that I dont need the 0's to show. Show what
would I need to put in the query in order not to show the 0's? Thanks

Jeff Boyce wrote:
Your original post mentioned a "form", but you've posted in a "reports"
newsgroup. I'll assume you are talking about a report definition.

You could do the 0 == nothing conversion in a query you use to feed the
report, or you could use the report's OnFormat event to have Access
decide,
for each detail record, what value to place in that textbox control. I'd
probably go with the former, so that the data coming into the report is
already cleaned up.

Regards

Jeff Boyce
Microsoft Office/Access MVP

When i change it, it works fine but it also shows 0. I need it to show a
blank when there is a 0..

[quoted text clipped - 11 lines]
18.0
Thanks


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/200707/1



 




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 05:36 PM.


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