Error when using Report Emulation Text File (p.125 of manual)
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.
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.
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
setup. I'll try again tomorrow at work.
Regards.
bottle.
Regards.