R
Ray C
While I'm in the Immediate Window in Access I type the following calculation
and it gives me the wrong answer, what could be causing this?
? 100.70-100.69
1.00000000000051E-02
It should give me 0.01, no?
The reason why I'm doing this is because I have a function that compares
calculated fields and for some reason Access tells me it's not valid when it
is in fact valid.
This function does some comparisons like:
If Me.txtField1 <> Me.txtField2 - Me.txtField3 then
Valid = False
Else
Valid = True
Endif
When I debug, I see the values and it should return True, but instead it
returns False. So I decided to retype the same values in the Immediate window
and I get the above. Which is wrong.
Any help would be appreciated. This is just weird.
Thanks in advance
and it gives me the wrong answer, what could be causing this?
? 100.70-100.69
1.00000000000051E-02
It should give me 0.01, no?
The reason why I'm doing this is because I have a function that compares
calculated fields and for some reason Access tells me it's not valid when it
is in fact valid.
This function does some comparisons like:
If Me.txtField1 <> Me.txtField2 - Me.txtField3 then
Valid = False
Else
Valid = True
Endif
When I debug, I see the values and it should return True, but instead it
returns False. So I decided to retype the same values in the Immediate window
and I get the above. Which is wrong.
Any help would be appreciated. This is just weird.
Thanks in advance