Master-Detail Evaluation Question

Stimulsoft Reports.WEB discussion
Post Reply
dwaddell
Posts: 4
Joined: Thu Sep 13, 2012 1:16 pm

Master-Detail Evaluation Question

Post by dwaddell »

Hi,

I am currently evaluating your Reports.Web product, with the intention to move away from one of your competitors in the market for the development of our new web based product.

It is a very powerful and feature packed product.

I have run into an issue with master-detail reporting, and I am not quite sure of the problem.

The Dataset generated contains two Datatables and a relation between them, this seems to be picked up in the Designer fine, and I create a Master band and a Detail band with no problem using the fields from the Dictionary, see the 'designer' attached file.

But when I generate the report preview, I receive the errors, shown in the 'preview' attached file.

I create the report design with the following code:

Dim report As Stimulsoft.Report.StiReport = New Stimulsoft.Report.StiReport
report.RegData(AnalyticsDataset)
report.Dictionary.Synchronize()
StiWebDesigner1.Design(report)

And I set the PreviewDataSet in the GetPreviewDatasetEvent.

This all works fine with a dataset with a single datatable, just not in my Master-Detail tests.

Can you please help?

Thanks

Dave
Attachments
preview.png
preview.png (105.36 KiB) Viewed 2024 times
designer.png
designer.png (104.45 KiB) Viewed 2024 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Master-Detail Evaluation Question

Post by Alex K. »

Hello,

Can you please send us your report which reproduces the issue for analysis.

Thank you.
dwaddell
Posts: 4
Joined: Thu Sep 13, 2012 1:16 pm

Re: Master-Detail Evaluation Question

Post by dwaddell »

Here it is attached, I assume you mean the .mrt file...

Dave
Attachments
Report.mrt
(32.52 KiB) Downloaded 139 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Master-Detail Evaluation Question

Post by Alex K. »

Hello,

In this case, you must use the following name of data source in expression:
ClientDept_Master
instead
ClientDept-Master

Please check the modified report in attachment.

Thank you.
Attachments
Report_modified.mrt
(33.21 KiB) Downloaded 144 times
dwaddell
Posts: 4
Joined: Thu Sep 13, 2012 1:16 pm

Re: Master-Detail Evaluation Question

Post by dwaddell »

Thanks,

But this report is just one of many that's part of a wider re-write of our product (potentially using your software) and we have hundreds of pre-compiled datasets that use the xxxx-yyyyy naming convention, it would be impractical for us to change all of those.

Can you make a change to your product to support the '-' in the naming of datasets? Why is it currently an issue?

If we can resolve this, we will be moving to purchase your software.

Thanks

Dave
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Master-Detail Evaluation Question

Post by Alex K. »

Hello,

This symbol may not be used for object names in the rules of programming. They are in the data source supported, but if you look at the auto-generated code in it all "-" characters replaced with "_".

Thank you.
dwaddell
Posts: 4
Joined: Thu Sep 13, 2012 1:16 pm

Re: Master-Detail Evaluation Question

Post by dwaddell »

Thanks,

I'll see what we can change on our side, as your product is far superior to others.

Dave
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Master-Detail Evaluation Question

Post by Alex K. »

Hello,

Thank you for the interest in our product.
Let us know if you need any additional help.
Post Reply