Solved

Converting a memo TField to a String...

Posted on 2000-02-18
5
685 Views
Last Modified: 2012-08-13
Hi,

I have this DB Memo field and want to convert it's value to a stringlist ( it has several #13#10 combinations in it)
Some characters won't convert properly, like chr(130)...

How can best convert the Memo, so all the characters stay intact?

Thanks...
0
Comment
Question by:lizzzard
  • 3
5 Comments
 
LVL 6

Expert Comment

by:edey
ID: 2537304
how about the text property?


GL
Mike
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2537406
TDBMemo.Lines IS a stringlist!
0
 

Author Comment

by:lizzzard
ID: 2537925
Oops!!
Sorry, I hadn't worked with DBMemo first. I tried the assign method, but some characters went beserk, like "é", so I figured I was doing something wrong...
But it's ok this way.
Thanks for your comments..Or do you want to post this as an answer Epsylon?

Regards,

Lizzzard
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 2538197
Ok, here it is again:

TDBMemo.Lines IS a stringlist!

Cheers,

Epsylon.
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 50 total points
ID: 2538199
Ok, here it is again:

TDBMemo.Lines IS a stringlist!

Cheers,

Epsylon.

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question