Hello,
I am trying to update a memo field in a table. But when I do the statement below the memo field is given a True value. How can I get the text I want in it?
MyTable_Site_Upgrades->FieldValues["Notes"]= Memo_Upgrade_Notes->Lines;
Thanks!
Updating a memo field
Try using something like
to load data from TMemo into TMemoField field and
to load data from TMemoField into TMemo.
You can also use TDBMemo component that provides automatic editing of TMemoField.
Code: Select all
MyQuery->FieldByName("c_text")->Assign(Memo->Lines);Code: Select all
Memo->Lines->Assign(MyQuery->FieldByName("c_text"));You can also use TDBMemo component that provides automatic editing of TMemoField.