Re: TDBmemo fields and Memory Tables



Dennis and Bill, many thanks for both your help. Dennis cracked it this time
as it was a TSpeedbutton and just checking whether the Memo control had
focus and then before the post moving the focus to another control solved
it.

Once again, many thanks and kind regards

David
"Dennis Passmore" <dennisp@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:juh9f2tnvqlvbomt8oeig3tsugmvmaouab@xxxxxxxxxx

Yes, the 'save' button does indeed call the Post method

I have seen this behavior in several applications where the Save button
is more than likely a TSpeedbutton and because of that a TSpeedbutton
does not steal the focus away from the TDBMemo and the InplaceEditor of
the
TDBMemo will not post its changes to the field it is linked to. In your
Save button OnClick event handler add some code to SetFocus to some other
control on the from and then Post your changes. When the post is
complete then you can change focus back to the DBMemo and the problem
should go away.




.


Quantcast