What you need is a rtf --> html converter. Email just ADORES html. Don't know of a free one, but you could try this: http://www55.pair.com/betasoft/scroogexhtml.html
HTH - Chris > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alan Colburn > Sent: 15 October 2007 00:45 > To: delphi-db@elists.org > Subject: Extracting Text from RTF-Containing Field > > Suppose you've got a dataset field storing rich text. > Presumably this would be a BLOB-type field, right? > > I'd like to create a method that would let me extract the > info from a record, including the above field, as a string. > (I want to insert the record's info into a plain text e-mail > message.) Any idea how to do this? If you just use the > field;s .AsString property you end up with text containing > the "hidden" RTF codes. > > As always, thanks -- Al > _______________________________________________ Delphi-DB mailing list Delphi-DB@elists.org http://www.elists.org/mailman/listinfo/delphi-db