Page 1 of 1

Master-Detail Evaluation Question

Posted: Thu Sep 13, 2012 1:31 pm
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

Re: Master-Detail Evaluation Question

Posted: Fri Sep 14, 2012 10:23 am
by Alex K.
Hello,

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

Thank you.

Re: Master-Detail Evaluation Question

Posted: Fri Sep 14, 2012 2:02 pm
by dwaddell
Here it is attached, I assume you mean the .mrt file...

Dave

Re: Master-Detail Evaluation Question

Posted: Mon Sep 17, 2012 6:15 am
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.

Re: Master-Detail Evaluation Question

Posted: Tue Sep 18, 2012 12:16 pm
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

Re: Master-Detail Evaluation Question

Posted: Wed Sep 19, 2012 9:18 am
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.

Re: Master-Detail Evaluation Question

Posted: Wed Sep 19, 2012 10:32 am
by dwaddell
Thanks,

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

Dave

Re: Master-Detail Evaluation Question

Posted: Wed Sep 19, 2012 11:29 am
by Alex K.
Hello,

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