IF field with a formula

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have a table that contains form fields that are bookmarked. I want
to use an IF field to prevent a divide by zero error and to display
the result of an equation.

The fields are defined as number fields and bookmarked Text66, Text67,
and Text68.

The formula is =Text66/Text67*Text68

The formula works if I don't use the IF statement. But I want to
display nothing if Text67 is blank or 0.

{ IF Text67 > 0 =Text66/Text67*Text68 \# "0.00" ""}

This just displays =Text66/Text67*Text68 if Text67 is greater than 0.
I've tried to use an extra set of brackets to contain the true result
(by pressing ctrl+F9) but that doesn't work, nor does containing the
true result with quotes.

How can I display my true result as a number and not text?

Thanks
.



Relevant Pages

  • RE: Ignore SQL Server errors?
    ... As suggested, I have written a small SP to throw the Divide by Zero error, ... then select a string to display. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: IF field with a formula
    ... It does not have to be in a formfield, but for Text66, Text67 and Text68 you ... display nothing if Text67 is blank or 0. ... this formula (all have calculate on exit selected). ...
    (microsoft.public.word.tables)
  • Re: breaking content automatically into columns or rows
    ... | divide it into fixed sized rows and columns. ... Display the first set of columns. ... In another post you mentioned that you wanted any type of html markup ...
    (comp.lang.javascript)
  • Re: DataColumn.Expression error handling
    ... would never be 0 but 1 instead, and I would really like to display the NaN ... >> classic division by zero error. ... >> being evaluated regardless of the condition. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Formulas for dividing in Excell
    ... Divide numbers ... Type =10/5 in a cell to display the result 2. ... They have adission, ect... ...
    (microsoft.public.excel.misc)