| View previous topic :: View next topic |
| Author |
Message |
clacke Guest
|
Posted: Thu Mar 15, 2007 1:57 am Post subject: Any way to produce by Rave code a ravefile built by designer |
|
|
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
|
Posted: Wed Mar 21, 2007 3:43 am Post subject: Re: Any way to produce by Rave code a ravefile built by desi |
|
|
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
|
Posted: Wed Mar 21, 2007 11:36 pm Post subject: Re: Any way to produce by Rave code a ravefile built by desi |
|
|
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
|
Posted: Thu Mar 22, 2007 5:21 am Post subject: Re: Any way to produce by Rave code a ravefile built by desi |
|
|
| 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
|
Posted: Fri Mar 23, 2007 3:32 am Post subject: Re: Any way to produce by Rave code a ravefile built by desi |
|
|
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 |
|
 |
|