#Num! ???

  • Thread starter evilcowstare via AccessMonster.com
  • Start date
E

evilcowstare via AccessMonster.com

Hi I have a txt box called GP which for its control source is doing a
calculation of....


netvalue/margin

It works fine when there is stuff in the boxes for netvalue and margin but
when the boxes are on their default of £0.00 it says #Num! in the txt box for
GP, is there anyway i can make the txt box blank until stuff is entered or
how to get rid of the display #Num!

Thank You !
 
D

Dirk Goldgar

In
evilcowstare via AccessMonster.com said:
Hi I have a txt box called GP which for its control source is doing a
calculation of....


netvalue/margin

It works fine when there is stuff in the boxes for netvalue and
margin but when the boxes are on their default of £0.00 it says #Num!
in the txt box for GP, is there anyway i can make the txt box blank
until stuff is entered or how to get rid of the display #Num!

Thank You !

You might try this controlsource expression:

=IIf(margin = 0, 0, netvalue/margin)
 

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