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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
#Num!
Simple question I'm sure....
In a text box on a report I'm doing a simple division calculation. When the Numerator and denominator are zero the result comes back "#Num!" How can I make it say "0" or even blank???? Thanks |
#2
|
|||
|
|||
#Num!
Use IIf() like:
=IIf([A] = 0 , Null, [b]/[A]) -- Duane Hookom Microsoft Access MVP "Dan @BCBS" wrote: Simple question I'm sure.... In a text box on a report I'm doing a simple division calculation. When the Numerator and denominator are zero the result comes back "#Num!" How can I make it say "0" or even blank???? Thanks |
#3
|
|||
|
|||
#Num!
Fantastic !!!
Thanks "Duane Hookom" wrote: Use IIf() like: =IIf([A] = 0 , Null, [b]/[A]) -- Duane Hookom Microsoft Access MVP "Dan @BCBS" wrote: Simple question I'm sure.... In a text box on a report I'm doing a simple division calculation. When the Numerator and denominator are zero the result comes back "#Num!" How can I make it say "0" or even blank???? Thanks |
Thread Tools | |
Display Modes | |
|
|