Board index » delphi » Memo field and TMemo

Memo field and TMemo

Quote
A Vasitch wrote in message <6i3e27$8...@forums.borland.com>...
>Hi All,

>I have a TMemo which I would like to populate with the contents of a TMemo
>field from a Paradox database.  How do I do this?  And what is the easiest
>way to do the opposite?

Memo1.Lines.Text := Table1.FieldByName('Notes').AsString;
 

Re:Memo field and TMemo


Hi All,

I have a TMemo which I would like to populate with the contents of a TMemo
field from a Paradox database.  How do I do this?  And what is the easiest
way to do the opposite?

Thanks in advance

Alex

Re:Memo field and TMemo


Quote
>I have a TMemo which I would like to populate with the contents of a TMemo
>field from a Paradox database.  How do I do this?  And what is the easiest
>way to do the opposite?

try Assign

Tmemo1.assign(table1.fieldbyname('YourMemo')

--
Brian Bushay (TeamB)
Bbus...@DataGuidance.com

Other Threads