>Dragan:
>
>I routinely build a .oldvalue property into any class that can hold a value. That way I always have an absolute record of any value change. Just assign .oldvalue = .value in the GotFocus() event. Then you can test from any position in the form for .oldvalue = .value and take appropriate action.
>
>This is a holdover from old Clipper code. I'm certain there are modern, OOPS ways of doing the same thing that are much more elegant.
My framework does the exact same thing, and I don't think that it falls outside of any OOP principles. The only other alternative is GETFLDSTATE, and OLDVAL and such, which can only be used on fields in buffered tables, not unbound controls.
Erik Moore
Clientelligence