TTMSFNCDataGrid - Memos

ftMemo is part of non editable fields which means that ftMemo is likely to be stored as binary format. Assigning a string (which is what the default or memo inplace editor does) is potentially causing issues. Because the biolife.xml is actually storing ftMemo as a string, you can use the following functionality to allow editing the memo directly as a string in the grid (applied to BiolifeClientDataSet demo)

  1. Add All Fields to the DataSet
  2. Select the Notes field and assign the OnSetText event
  3. Use the following code
procedure TForm1.ClientDataSet1NotesSetText(Sender: TField;
  const Text: string);
begin
  Sender.AsString := Text;
end;