Im creating a stimulreport, which has a datasource created from importing an xml-scheme.
The XML-file that is being bound to the rapport looks something like this
.....
But sometimes only col1 to col3 is being written.
Which then gives an exception that says that col4 cant be found.
What I want is for the report to just ignore that value if I dont write col4-col7 to the XML-file. Is that possible?
Ignore parts of the datasource? Possible?
-
- Posts: 23
- Joined: Wed May 30, 2007 4:15 am
Ignore parts of the datasource? Possible?
Do you create a report in the Designer or by code? Do you register your data in the Designer or by code?
Thank you.
Thank you.
-
- Posts: 23
- Joined: Wed May 30, 2007 4:15 am
Ignore parts of the datasource? Possible?
I create the report in the designer, and I register the data by code (a XML read into a Dataset).
Ignore parts of the datasource? Possible?
So please check that unregistered columns are not used in the relations of the report template. If not presented in XML file fields are used in the Text's expressions of the report template then the report will be rendered as expected.incognito_gbg wrote:I create the report in the designer, and I register the data by code (a XML read into a Dataset).
If the issue is still present in your report, please send test application to support[at]stimulsoft[dot]com.
Thank you.