Page 1 of 1

Posting data from memo

Posted: Thu 13 Nov 2014 14:24
by classic12
Hi guys,

back in delphi land been away for a few years and my rusty brain can't remember some basic concepts.

I am using EX7 myDac 8.

I have a myQuery1 - BindSourceDB1 - Grid1 & memo1

If I change details in a row in the grid it automatically updates the MYSQL table.

How do I post the changed data from the memo field. i.e. if I move out of the memo it posts or on a button.

Sorry for the basic question.

Cheers

SteveW :mrgreen:

Re: Posting data from memo

Posted: Fri 14 Nov 2014 09:23
by ViktorV
To save data from TMemo, you should explicitly call TMyQuery.Post, since when the TMemo control is unfocused, TMyQuery.Post is not called. For more details about work with data control you can refer to the Embarcadero documentation.