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

Error when using Report Emulation Text File (p.125 of manual)

edited April 2003 in General
Hi,

I'm using Delphi7 Enterprise with ReportBuiler 7.02

I would like to create a RTF version of my report.

When I try to use the technique as stated on page 125 of the manual I get
the error message:

EReadError exception: 'Error reading cbxBackgroundPrinting.OnClick: Invalid
property value'.

My code:

implementation

{$R *.dfm}
uses
ppTypes;

procedure TForm1.btnRunClick(Sender: TObject);
begin
DBGrid1.DataSource := nil;
DBNavigator1.DataSource := nil;
with ppReport1 do
begin
AllowPrintToFile := true;
TextFileName := 'Output.txt';
DeviceType := dtPrinter;
ShowPrintDialog := true;
Print;
end;
DBGrid1.DataSource := DataSource1;
DBNavigator1.DataSource := DataSource1;
end;

end.




Regards.

Comments

  • edited April 2003
    Nols,

    I am unable to recreate the issue on my machine. Please send running
    example of the problem to support@digital-metaphors.com and I will take a
    look.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2003
    I tried it at home - no problem. So it must be something on my work's PC
    setup. I'll try again tomorrow at work.

    Regards.

  • edited April 2003
    It's also working at my office, still don't know how the ghost got into the
    bottle.

    Regards.
This discussion has been closed.