Solved

Converting a memo TField to a String...

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

16 Experts available now in Live!

Get 1:1 Help Now