.Value vs .OldValue

George Too

Registered User.
Local time
Today, 18:58
Joined
Aug 12, 2002
Messages
198
I was wondering what is the difference between .VALUE and .OLDVALUE. Can you guys explain in English?
 
Value is the current value

OldValue is the last value

Col
:cool:
 
So, if I want to get the corrent value from a text box the best property to use is Value instead of OldValue? How would OldValue, in this case, affect the outcome of my calculations?
 
If the current value in a text box is 10 but it was 8 before -

The code Me.TextBoxName.Value will be 10

The code Me.TextBoxName.OldValue will be 8


Col
:cool:
 
Reason I was asking is that I was using OldValue in my code but noticed that for some reason calculations were not right and there's where it came to me that it could be the property I was using.

Thanks for making it clear.
George
 

Users who are viewing this thread

Back
Top Bottom