Re: TDBmemo fields and Memory Tables
- From: "David Smith" <davesmith@xxxxxxxxxxxxxxxx>
- Date: Wed, 30 Aug 2006 19:36:48 +0100
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.
.
- References:
- TDBmemo fields and Memory Tables
- From: David Smith
- Re: TDBmemo fields and Memory Tables
- From: Bill Todd
- Re: TDBmemo fields and Memory Tables
- From: David Smith
- Re: TDBmemo fields and Memory Tables
- From: Dennis Passmore
- TDBmemo fields and Memory Tables
- Prev by Date: Re: TClientDataset and Refresh
- Next by Date: Re: Problem with AsyncExecute in ADO
- Previous by thread: Re: TDBmemo fields and Memory Tables
- Next by thread: Using TADOConnection with TDBGrid
- Index(es):