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 

Any way to produce by Rave code a ravefile built by designer

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (RaveReports)
View previous topic :: View next topic  
Author Message
clacke
Guest





PostPosted: Thu Mar 15, 2007 1:57 am    Post subject: Any way to produce by Rave code a ravefile built by designer Reply with quote



Hi all.
My problem is that in a multithread application as web apps, i cannot use
RvProject.ExecuteReport because Rave hangs.
Is there any way to produce a report built by rave designer without calling
RvProject.Execute?
TIA
Back to top
Eldon Lewis
Guest





PostPosted: Wed Mar 21, 2007 3:43 am    Post subject: Re: Any way to produce by Rave code a ravefile built by desi Reply with quote



You should only use DriverDataviews in a multithreaded application.

Eldon Lewis
Nevrona Designs

"clacke" <clacke.nospamplease (AT) tiscali (DOT) nospamplease.it> wrote in message
news:45f861a4$1 (AT) newsgroups (DOT) borland.com...
Quote:
Hi all.
My problem is that in a multithread application as web apps, i cannot use
RvProject.ExecuteReport because Rave hangs.
Is there any way to produce a report built by rave designer without
calling RvProject.Execute?
TIA
Back to top
clacke
Guest





PostPosted: Wed Mar 21, 2007 11:36 pm    Post subject: Re: Any way to produce by Rave code a ravefile built by desi Reply with quote



Eldon,

Quote:
You should only use DriverDataviews in a multithreaded application.

Eldon Lewis
Nevrona Designs

"clacke" wrote in message news:45f861a4$1 (AT) newsgroups (DOT) borland.com...
Hi all.
My problem is that in a multithread application as web apps, i cannot use
RvProject.ExecuteReport because Rave hangs.
Is there any way to produce a report built by rave designer without
calling RvProject.Execute?
TIA



thanks for your answer.
I need produce a pdf report starting from an intraweb application.
In .Net 6.5 BE version, using intraweb on IIS 6, I obtain an Exception
(System.NullReferenceException: Object reference not set to an instance of
an object) and the same happens on win32 intraweb application when I call
rvProject.ExecuteReport.
Is there a solution to produce a report (not writing by code but starting
from a designed project) using rvSystem.execute?

Thanks again.

>
Back to top
Eldon Lewis
Guest





PostPosted: Thu Mar 22, 2007 5:21 am    Post subject: Re: Any way to produce by Rave code a ravefile built by desi Reply with quote

Quote:
I need produce a pdf report starting from an intraweb application.
In .Net 6.5 BE version, using intraweb on IIS 6, I obtain an Exception
(System.NullReferenceException: Object reference not set to an instance of
an object) and the same happens on win32 intraweb application when I call
rvProject.ExecuteReport.
Is there a solution to produce a report (not writing by code but starting
from a designed project) using rvSystem.execute?

There are two options for generating a report. You can create a visually
designed report. This report would be executed by calling
RvProject1.Execute or ExecuteReport.

The alternative to doing this is to create a report using the code-based
api. This report would only use the RvSystem component and would be
executed by calling RvSystem1.Execute.

An Example of a code-based report is as follows:

procedure TForm1.RvSystem1Print(Sender: TObject);
begin
with Sender as TBaseReport do begin
SetFont('Arial', 12);
Home;
PrintCenter('Hello World', PageWidth / 2);
end;
end;

I hope this answers your question.

Eldon Lewis
Nevrona Designs
Back to top
clacke
Guest





PostPosted: Fri Mar 23, 2007 3:32 am    Post subject: Re: Any way to produce by Rave code a ravefile built by desi Reply with quote

Hi Eldon,
thanks for your quick answer.

Quote:
There are two options for generating a report. You can create a visually
designed report. This report would be executed by calling
RvProject1.Execute or ExecuteReport.

The alternative to doing this is to create a report using the code-based
api. This report would only use the RvSystem component and would be
executed by calling RvSystem1.Execute.


I'm seeking for a way to recall a visually designed report by
rvSystem.Execute.
That is because it seems that rvSystem.execute doesn't crash an intraweb or
any multithread application as rvProject.ExecuteReport.


Quote:
I hope this answers your question.

Eldon Lewis
Nevrona Designs


Thanks again
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (RaveReports) 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.