Page 1 of 1

DataSet to multiple subreports inside a main report

Posted: Wed Nov 17, 2010 7:10 am
by Lug16
Hi everyone:

I would like to send a couple of DataSets(or DataTables) to a Report that has a couple of subreports inside. How can I Bind different datasets(datatables) to differents subreports inside a main report in Visual Studio 2008.?:blush:

Thanks in advice.

DataSet to multiple subreports inside a main report

Posted: Wed Nov 17, 2010 7:21 am
by Alex K.
Hello,

You can simply add all the datasets to the report dictionary. They will be available both on the main page and in sub-reports.
Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.

DataSet to multiple subreports inside a main report

Posted: Wed Nov 17, 2010 11:08 am
by Lug16
Ok! it is done...:grinder:

Just one more question. I have inside the text html tags like () that I want to change them to break lines (/n)... How can I do that?

DataSet to multiple subreports inside a main report

Posted: Thu Nov 18, 2010 1:58 am
by Alex K.
Hello,

You can use the following expression

Code: Select all

{"Sample \n string"}
Please see the sample report in attachment.

Thank you.

DataSet to multiple subreports inside a main report

Posted: Thu Nov 18, 2010 2:35 am
by Lug16
It Works perfectly... thanks :biggrin:

DataSet to multiple subreports inside a main report

Posted: Thu Nov 18, 2010 2:57 am
by Andrew
Great!

Have a nice day!