Trial Version and Subreports

Stimulsoft Reports.NET discussion
Post Reply
fvfv
Posts: 6
Joined: Wed Sep 10, 2008 11:05 am

Trial Version and Subreports

Post by fvfv »

My application is not a Master/Detail type of application.

I simply need to create a master report with a blank page other than the header and add subreports wich have different layouts and tables to this master report. These subreports need to display the same page header as the master report. I do not need to set references between the master and the subreports. All data will be given to the subreports at runtime using regdata(xxx,xxx) .

Reading the forums I see that the new Engine V2 has better support for subreports.

The trial version that I downloaded is dated march 2008, which does not allow you to set EngineV2 on the report designer properties.

For what I understand on reading the posts, I need to download a recent prerelease so that I can test the subreports functions.

Basically I create a master report with a page header. Then on Code I add subreports with master.Subreports.Add and it seems to work
but it does not show the same headers from the master report.

I also tried the other approach, which is to create a subreport component from the master report and add the EventHandler to the master report to feed it subreports.

That also does not show anything, just blank pages. In reading the documentation I am supposed to use the UseExternalReport to true and leave the ReportPage to null (Not assigned).

So my next thing to do was to download a recent prerelease and now nothing works. I cannot even start the Visual Studio 2005 designer. I get a "Unable to cast stireport object to stireport ....." Message.

I used the installation tool to register into the GAC, unregister from the GAC. I also removed references on the project and added references from the new downloaded folder.

Basically, I need to know:
Can I download the prerelease on top of the trial version and just exactly how do I update the binaries ?
Will the new V2 Engine allow me to use the same page header of the master report on all its subreports ?


Thanks for a wonderful product and I really hope I can get this to work so that I can buy the development license.

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Trial Version and Subreports

Post by Edward »

Hello.
fvfv wrote:My application is not a Master/Detail type of application.

I simply need to create a master report with a blank page other than the header and add subreports wich have different layouts and tables to this master report. These subreports need to display the same page header as the master report. I do not need to set references between the master and the subreports. All data will be given to the subreports at runtime using regdata(xxx,xxx) .

Reading the forums I see that the new Engine V2 has better support for subreports.

The trial version that I downloaded is dated march 2008, which does not allow you to set EngineV2 on the report designer properties.

For what I understand on reading the posts, I need to download a recent prerelease so that I can test the subreports functions.

Basically I create a master report with a page header. Then on Code I add subreports with master.Subreports.Add and it seems to work
but it does not show the same headers from the master report.

I also tried the other approach, which is to create a subreport component from the master report and add the EventHandler to the master report to feed it subreports.

That also does not show anything, just blank pages. In reading the documentation I am supposed to use the UseExternalReport to true and leave the ReportPage to null (Not assigned).
Please send the report template and data for it (if possible) to support[at]stimulsoft.com and we will suggest you a solution. Maybe there is no need in new features of Engine_V2.
So my next thing to do was to download a recent prerelease and now nothing works. I cannot even start the Visual Studio 2005 designer. I get a "Unable to cast stireport object to stireport ....." Message.

I used the installation tool to register into the GAC, unregister from the GAC. I also removed references on the project and added references from the new downloaded folder.

Basically, I need to know:
Can I download the prerelease on top of the trial version and just exactly how do I update the binaries ?
It is possible to have both versions installed in one system. Each version has its own unique version number so they are different for .Net Framework. But one project must contain all dlls of the same version which are required.

Here is the steps on how to install a new version:

To install the updated version you need to do the following steps:

1) Remove from GAC installed dlls of the Stimulsoft Reports.Net. You have to access it with Windows Explorer. Just open the following folder:
c:\Windows\assembly.

2) If you want to install .Net dlls into the GAC then you can drag them to that folder.

Here is the list of dlls for the 2008.1 version:

Stimulsoft.Base.dll
Stimulsoft.Controls.dll
Stimulsoft.Editor.dll
Stimulsoft.Report.dll
Stimulsoft.Report.Web.dll
Stimulsoft.Compression.dll
Stimulsoft.Database.dll

Here is the list of dlls of 2008.2 prerelease version:

Stimulsoft.Base.dll
Stimulsoft.Compression.dll
Stimulsoft.Controls.dll
Stimulsoft.Controls.Win.dll
Stimulsoft.Database.dll
Stimulsoft.Editor.dll
Stimulsoft.Report.Design.dll
Stimulsoft.Report.dll
Stimulsoft.Report.Web.dll
Stimulsoft.Report.Win.dll

3) Delete 'Stimulsoft' Tab from ToolBox in Visual Studio. And add it again. Add components from the following dlls, if you need them in ToolBox:

Stimulsoft.Report.dll
Stimulsoft.Report.Web.dll

or for 2008.2 from:
Stimulsoft.Report.dll
Stimulsoft.Report.Web.dll
Stimulsoft.Report.Win.dll


P.S. You have to install assemblies in GAC to be able run the Designer in Visual Studio.
Otherwise you cn run it in runtime as follows:

report.Design()

4) Delete Stimulsoft Reports.Net dlls from the Reference part of your Application and then
add those references again to the new Stimulsoft Reports.Net dlls.


In your case I think you had Tab in Visual Studio with references to previous version of Stimulsoft Reports.Net assemblies.
Will the new V2 Engine allow me to use the same page header of the master report on all its subreports ?

Please send the report, data and brief explanation of the result required and we will help you with a solution.

There are several options how your task could be resolved.
Thanks for a wonderful product and I really hope I can get this to work so that I can buy the development license.
Thank you very much for such words :) I think that together we will resolve the task with that report easily :)

Thank you.
Post Reply