Convert Memo to String
I have a memo field with description of a part. I am creating a text file
output that needs the description broken down into 2 separte fields
within the output.
How do i convert the memo to text?
--- posted by geoForum on http://delphi.newswhat.com
output that needs the description broken down into 2 separte fields
within the output.
How do i convert the memo to text?
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
For future reference, please use your real name when posting to these
newsgroups.
The memo text can be accessed using the Lines TStringList property of the
component. If you would like to access the memo text as a string, you can
use the TppMemo.Lines.Text property.
Note that if you are using a DBMemo, you will need to wait until the memo
has been populated from the DB before accessing the text. The OnPrint event
would most likely work in this case.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com