Problem with XML datasource

Stimulsoft Reports.WEB discussion
Post Reply
melzer
Posts: 17
Joined: Wed Oct 03, 2012 9:07 am

Problem with XML datasource

Post by melzer »

Hi,

we want to use XML files as datasource for our reports.
But data is only displayed, when there at least two records per table.
In our example table 'BonRgInfo' has only one record, data is not displayed.
Table 'BonRgDetails' contains two records, data is displayed.
Also when you create the datasource in the report and select data from the datasource file, the columns of the table with more than one records ('BonRgDetails') are shown correctly,
the columns of the table with only one record ('BonRgInfo') are only shown as 'Name' and 'Value'. You have to create theses table fields manually.

Please help, thank you!
Attachments
BonRg.xml
(1.05 KiB) Downloaded 149 times
BonRg.mrt
(21.46 KiB) Downloaded 164 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Problem with XML datasource

Post by Alex K. »

Hello,

Please try to set the XML type as "ADO.NET XML".

Thank you.
Attachments
Capture.PNG
Capture.PNG (37.2 KiB) Viewed 1503 times
melzer
Posts: 17
Joined: Wed Oct 03, 2012 9:07 am

Re: Problem with XML datasource

Post by melzer »

Thank you, Aleksey!!

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

Re: Problem with XML datasource

Post by Alex K. »

Hello

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply