Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Save to text printing a blank file

edited June 2008 in General
I am using Report Builder 10 Enterprise on Delphi 2006. When I select
to print to file, select text file is the type and allowing the user to
put a file name, after hitting print, the report is blank. Any help on
what I need to do?

--

Comments

  • edited June 2008
    Hi Semone,

    Take a look at demos 101 - 107 located in the \RBuilder\Demos\1. Reports\...
    directory for examples of how to export a report to a text file. For a
    delimited text file you will need to use the save property or the Print to
    File dialog by selecting File | Print To File Settings... option.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2008
    Nico Cizik (Digital Metaphors) wrote:


    Thanks Nico for your response. I took a look at the demos, the problem
    I am having, happens when your device type is set to the screen.
    Basically I display the report to the screen first. And the
    AllowtoPrintFile is set to true. When the user selects to printtofile
    in the print dialog box, they choose text. After choosing text, the
    file is created, but the file is blank. Any ideas? Actually I ran demo
    report 108 and tried to print it to a text file instead of pdf, and the
    file was blank as well.

    --
  • edited June 2008
    Semone,

    Demos 101 - 107 are designed to export to a text file. Demo 108 is not,
    therefore you will receive an empty page.


    See the help topics on the TppCustomText.Save and TppBand.Save properties
    for more information.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.