Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't want to SCATTER
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00145507
Message ID:
00145561
Views:
37
Randy,

OLDVAL() returns the value that a field had when the data was buffered on the current machine

CURVAL() returns the vlaue that a field has currently on the disk drive (may be different if another user made edits while you had the record buffered)

Alias.FieldName returns the current value for a field in your buffer.

OldVal() <> Alias.FieldName : You have changed the value
OldVal() <> CurVal() : someone else has change the value
CurVal() <> Alias.FieldName : eithr you or someone else has changed the value

OldVal() <> Alias.FieldName AND Alias.FieldName == CurVal()
You have changed the value to the same avalue that someone else changed it to.

With views OldVal() ALWAYS equals CurVal().
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform