Client Data Set - Wide Memo
Posted on 2013-06-12
Greek Extended characters do not "stick" in Delphi MIDAS wide memo field.
I can enter them into a wide memo, but when the field is saved to the TClientDataSet and then read again, it comes back as "?"
I can work around this by writing the memo as a fixed length wide string (with a substitute new line character), but this loses the flexibility of the memo type, which allows many lines, entirely at the user discretion.
Here is the code used to save the field:
Where cdsDiction is a TClientDataSet and the associated data field "WideMeaning" is a Wide Memo, and the VCL field "Meaning" is a TMemo.