J
JDB
I am trying to add a '+' and '-' to a calculated control.
=IIf([txtq1pre]-[txtq1post]>=0,"+", "-") returns the appropriate sign.
However, when I try to add something after the sign, the control return a
huge number.
For example, =IIf([txtq1pre]-[txtq1post]>=0,"+" &
([txtq1pre]-[txtq1post]),"-"&([txtq1pre]-[txtq1post])) yields a large
number, when the underlying two numbers [txtq1pre] and [txtq1post] are both
less than 5.
Any help on my syntax?
=IIf([txtq1pre]-[txtq1post]>=0,"+", "-") returns the appropriate sign.
However, when I try to add something after the sign, the control return a
huge number.
For example, =IIf([txtq1pre]-[txtq1post]>=0,"+" &
([txtq1pre]-[txtq1post]),"-"&([txtq1pre]-[txtq1post])) yields a large
number, when the underlying two numbers [txtq1pre] and [txtq1post] are both
less than 5.
Any help on my syntax?