One report - different data sources

Stimulsoft Reports.WEB discussion
Post Reply
petr.pavlis
Posts: 27
Joined: Sun May 15, 2011 4:16 am

One report - different data sources

Post by petr.pavlis »

Hello,

I'm trying to create a report that would allow me to work over different data sources with similar structure (in some sources there are no contained some columns). If the column is not available in the data source, I would then cross through a text box for example.

Am I able to solve this in a report, or do I need for each type of data source to define another report? How to check that column exists?

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

Re: One report - different data sources

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. What do you mean about "I would then cross through a text box for example." ?
How it should look like in the report.

Thank you.
petr.pavlis
Posts: 27
Joined: Sun May 15, 2011 4:16 am

Re: One report - different data sources

Post by petr.pavlis »

Hello,

I have an example for you.

Mobile phone is not in XML file in this case, but mobile phone is used in the report because this column is in another XML files.

It is possible to use one report for XML files with different structure? I don’t need to write mobile phone to output if this column is inaccessible, but I need to write another data.

Thank you.
Attachments
Stimulsoft.zip
(486.87 KiB) Downloaded 226 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: One report - different data sources

Post by HighAley »

Hello.

Maybe it will be more effective to create report in code.
Please, look at the attached report.
DynamicCreateReport.zip
(15.46 KiB) Downloaded 246 times
Thank you.
Post Reply