Hi!
If you sore the content of RTF text in the memo field, do following:
- prepare separate cursor for report, instead of memo field use general field (empty)
- insert into cursor in the loop each record required for printing. For memo field with RTF content save the content of it into temporary file with extension ".RTF" using strtofile() function. Use APPEND GENERAL command to get file into general field. Delete temporary file.
- in the report use OLE control, select data from field and as field specify general field in the report cursor.
Hope this will work.
>I am using the richtextbox to show the RTF format in my form, but I hope to print the RTF data to printer, how could I do?
>
>Thanks!
>
>Fan Li
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.