#Div/0! Error on No Data, Need to Hide This if no data. Thanks, Dave

  • Thread starter Gulf Coast Electric
  • Start date
G

Gulf Coast Electric

Text Box Formula in PerCent format. When there is no Data is show the above
error on form.
I need to Hide This. Thanks, Dave


=[text248]/[Text162]
 
K

Kelvin

Try

=IIF([Text162]>0,[text248]/[Text162],"")

Only when Text162 is valid, the percent will be shown, otherwise it shows
nothing. This will cover when Text162 is 0 too.

Kelvin
 
E

Emilia Maxim

Gulf Coast Electric said:
Text Box Formula in PerCent format. When there is no Data is show the above
error on form.
I need to Hide This. Thanks, Dave


=[text248]/[Text162]

Try this:

=Iif(IsNull([Text162]),Null,[text248]/[Text162])

Best regards
Emilia

Emilia Maxim
PC-SoftwareService, Stuttgart
http://www.maxim-software-service.de
 

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