BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

help : how to use TQRExcelFilter

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
rusli
Guest





PostPosted: Wed Oct 12, 2005 12:07 pm    Post subject: help : how to use TQRExcelFilter Reply with 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
Mike Shkolnik
Guest





PostPosted: Wed Oct 12, 2005 1:20 pm    Post subject: Re: help : how to use TQRExcelFilter Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.