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

Printing to Text File

edited April 2004 in General
Hi
I am using RBPro 7.02 and Waler TExtraDevices and Delphi 6 pro update 2, RTL
Update 2.
When printing to a text file from my application, the text file results in a
0k empty file.
I read the FAQ on the waler web site about setting the save property to
true, which is what I have now done but the file is still empty.
I have one ReportBuilder report component reponsible for the printing of
over 100 reports. Basically i design the report in a dummy form, save it to
an rtm file and at run time load the file into the report component and set
the dataset and data pipeline components as required. The save order of the
components on the report at design time is false (because I didn;t set the
property up when the reports where first designed, and I have no wish now of
going through every report and setting each component to save = true) and
the selected controls in Print to file setup have not been set. At run time,
I simply iterate through each component on the report and set the save =
true as required.
What am i missing? does the save order and savelength properties need to be
set as well. and what should these be? The report emulation text file works
OK as well as the standard Textradevices formats.
Thanks
Dominic

Comments

  • edited April 2004
    Please ignore, got it to work!
    I have a function that given a parent, will spin through each component of
    the parent and set the property of an object accordingly. I was passing it
    the wrong object!
    Thanks
    Dominic

This discussion has been closed.