 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
rusli Guest
|
Posted: Wed Oct 12, 2005 12:07 pm Post subject: help : how to use TQRExcelFilter |
|
|
Dear all,
I just trying to use TQRExcelFilter, i have following the sample that was
given. here is my code :
begin
rptSuppQP.ExportToFilter(TQRExcelFilter.Create('c:tempabc.xls');
end;
and i get this error
[Error] : Incompatible types: 'TComponent' and 'String'
this is the TQRExcelFilter.Create(AOwner : TComponent) that found in
QRExport.pas
I have no idea which component that it was ask for..
Help please,
BR
Rusli
I'm using Delphi 7 and QuickReport 4
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Wed Oct 12, 2005 1:20 pm Post subject: Re: help : how to use TQRExcelFilter |
|
|
var
sf : TQRExcelFilter;
begin
ef := TQRExcelFilter.Create('c:tempabc.xls');
try
rptSuppQP.ExportToFilter(ef);
finally
ef.Free;
end;
end;
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com
"rusli" <lotsofhd (AT) yahoo (DOT) com> wrote
| Quote: | Dear all,
I just trying to use TQRExcelFilter, i have following the sample that was
given. here is my code :
begin
rptSuppQP.ExportToFilter(TQRExcelFilter.Create('c:tempabc.xls');
end;
and i get this error
[Error] : Incompatible types: 'TComponent' and 'String'
this is the TQRExcelFilter.Create(AOwner : TComponent) that found in
QRExport.pas
I have no idea which component that it was ask for..
Help please,
BR
Rusli
I'm using Delphi 7 and QuickReport 4
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|