Solved

Converting a memo TField to a String...

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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 video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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