Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2005

Tip: Looking for answers? Try searching our database.

Dividing by zero

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jacques - 07 Jan 2005 17:26 GMT
Hello all,
   I have a text box that shows percentages from the value of two other
text boxes, but when they both say zero (0.00) I get an error.  I assume its
because you can't divide by zero, so how do I make it show 0.00% instead of
#Num!.  When there are values other than zero it works fine.

Thanks beforehand,
Jacques - 07 Jan 2005 17:38 GMT
Nevermind.
   I found the answer.

It was
=IIf([Divisor]=0,"",[Dividend]/[Divisor])
I found it
http://office.microsoft.com/en-us/assistance/HA010550731033.aspx

> Hello all,
>    I have a text box that shows percentages from the value of two other
[quoted text clipped - 3 lines]
>
> Thanks beforehand,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.