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 

Rave Report - Invalid Method Call

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





PostPosted: Fri Mar 05, 2004 7:16 pm    Post subject: Rave Report - Invalid Method Call Reply with quote



Hi
I have a D7 app which uses Rave reports- which are new to me. I have
some code-based reports that work correctly.
I copied the reporting code as is from one existing form to a new one.
When running the new form in the app (pre-view mode), I get the error
"Project ... raised exception class EReportPrinter with message 'Invalid
method call. ReportPrinter is not printing'.

The line that causes the error is #6 (the very same code works fine in
another form, same application):
1 With Sender as TBaseReport do
2 begin
3 NewLine;
4 SetFont ('Arial', 12);
5 Bold := True;
6 PrintCenter(Client_Name,4); (clientName is a string)

I can't seem to be able to find information anywhere about this...

Any suggestions?
Thanks,
JR Nicolet

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.