Last week I asked a question about Memo components (http://www1.experts-exchange.com/Computers/Programming/Windows/Delphi/Q_10323085.html
) and I was given the direction of using a RichEdit component for better formatting. This all worked fine and the data is saved to a TMemofield in a Dbase for Windows table.
My question is that I want to output the data from the TMemofield onto a report and I am currently outputting to an Image canvas as I wrote my own preview screen for the reports. This has to stay the same as it is part of a much larger program and it allows me to format the reports exactly the way I want. Now the data I currently load from the TMemofield shows Unicode characters on the Image canvas and also the Printer Canvas when printing.
To actually get the data I load the data to a hidden RichEdit component and it loads that fine. I cannot use the RichEdit.Print method as I want to format other items onto the report and I need the freedom to do this. Does anyone know how I can get the data from the TMemofield and View and Print it without the Unicode characters ?? I know it is a bit tricky but I will also keep perservering to see if I can solve it.
I use this code currently
RichLines := RichEdit1.Lines.Count;
For i := 0 to RichLines - 1 do
I have tried quite a few settings to no avail and you may suggest something I have tried but any comments will be appreciated.