Solved

Converting a memo TField to a String...

Posted on 2000-02-18
5
678 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now