D
darren via AccessMonster.com
I have an unbound text box in the footer of a continuous form that use the
sum function to add up %s(Doubles formatted as percentages). The trouble is
sometimes it is correct and other times it is not. I have tried increasing
the decimal places to see whether it is a matter of rounding but this is not
the case.
I also have code that uses this text box and when I test the value of it
using debug print it will = 1 and then pass through in an if statement which
checks to see whether it <>1 ???? (i.e. it says it equals 1 and then
disagrees with itself).
This is also evident in the conditional formatting that highlights it if the
value/sum <> 1 (i.e. 100%) It will displays 100% highlighted as it reckons it
does not equal 1.
??? Am I missing something ???
sum function to add up %s(Doubles formatted as percentages). The trouble is
sometimes it is correct and other times it is not. I have tried increasing
the decimal places to see whether it is a matter of rounding but this is not
the case.
I also have code that uses this text box and when I test the value of it
using debug print it will = 1 and then pass through in an if statement which
checks to see whether it <>1 ???? (i.e. it says it equals 1 and then
disagrees with itself).
This is also evident in the conditional formatting that highlights it if the
value/sum <> 1 (i.e. 100%) It will displays 100% highlighted as it reckons it
does not equal 1.
??? Am I missing something ???