locked
print formatted text in the foxpro report RRS feed

  • Question

  • I have a formated text and I want to print out this formated text in foxpro report
    I see the microsoft tutorial about this subject the the try is fail
    please help me to achieve this
    Sunday, December 27, 2009 9:08 AM

Answers

  • My approach was:
    1. Create GENERAL field in some table (depends on you conditions and how you have your RTF or any other file created)
    2. Put your RTF file in that field
    3 In report reserve the place for formatted text as OLE control. Data source for that control - your GENERAL field
    4 Print-preview and see if the formatting stays.

    It worked for me
    • Proposed as answer by Foxer Wednesday, June 23, 2010 4:29 PM
    • Marked as answer by Alaa Mukhtar Monday, September 6, 2010 11:02 PM
    Monday, January 18, 2010 5:19 PM

All replies

  • Save this formatted in text in one memo field and print this memo field in Report..



    <html><body> Please "Mark as Answer" if this post answered your question. :)

    Kalpesh Chhatrala | Software Developer | Rajkot | India

    Kalpesh's Blog </body> </html>
    Sunday, December 27, 2009 10:32 AM
    Answerer
  • but when I do this the formatting of the text is returned to default text and remove all formatting
    this if I understatnd you reply good
    please if you are sure of you answer send me an example
    Sunday, December 27, 2009 12:38 PM
  • Check below report viewer. it will be helpful to you.. It's Free.




    <html><body> Please "Mark as Answer" if this post answered your question. :)

    Kalpesh Chhatrala | Software Developer | Rajkot | India

    Kalpesh's Blog </body> </html>
    Monday, December 28, 2009 9:47 AM
    Answerer

  •         HI Alaa :
                          
                            Create  a  DBF  file   WITH  Suitable field width 
                            use  Command  for text  file  appending  to dbf:  
                        
                             APPEN FROM    TEMP.TXT   TYPE   SDF 
                         
                            you can devide  the text  using  SUBSTR()  function  to insert  in  other empty table fileds
                            to create your report  and  Revise  the  Help of
                            APPEN FROM 
                             To manipulate   with  other  ideas  of   DBF  FILELDS width   and delimiters
                             to create  table  in  one  run.
                                                                                                                                                                                                                                                                                                 
              
               
                             
                              
                            
    azizsallam
    Monday, January 18, 2010 12:26 AM
  • My approach was:
    1. Create GENERAL field in some table (depends on you conditions and how you have your RTF or any other file created)
    2. Put your RTF file in that field
    3 In report reserve the place for formatted text as OLE control. Data source for that control - your GENERAL field
    4 Print-preview and see if the formatting stays.

    It worked for me
    • Proposed as answer by Foxer Wednesday, June 23, 2010 4:29 PM
    • Marked as answer by Alaa Mukhtar Monday, September 6, 2010 11:02 PM
    Monday, January 18, 2010 5:19 PM