>Nadya,
>Where do you have the following code?
>
>if this.OldValue<>this.value
> tableupdate(...)
>endif
>
>
>If you have above in the valid or lostfocus it should work.
In the LostFocus, but it doesn't work. LostFocus sometimes is being called, and sometimes it is not...
Also it show empty string in Debugger.
However, it might be related to the fact, that my Memo field is not updated regardless of my changes...
>
>>Hi everybody,
>>
>>I'm using Memofield in a grid, but I just use textbox (my own class) and not the editbox. So, it shows memo/Memo, and I can double click to see its content.
>>
>>Now, if memo changes, I'd like to update my view. I put this.OldValue = this.value in GotFocus() and
>>
>>if this.OldValue<>this.value
>> tableupdate(...)
>>endif
>>
>>However, my GotFocus and LostFocus fire more times, than I thought, and as a result, it doesn't go to this if condition. How should I handle this problem?
>>
>>Thanks a lot in advance.
If it's not broken, fix it until it is.
My Blog