Ignore parts of the datasource? Possible?

Stimulsoft Reports.NET discussion
Post Reply
incognito_gbg
Posts: 23
Joined: Wed May 30, 2007 4:15 am

Ignore parts of the datasource? Possible?

Post by incognito_gbg »

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?
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Ignore parts of the datasource? Possible?

Post by Guest »

Do you create a report in the Designer or by code? Do you register your data in the Designer or by code?

Thank you.
incognito_gbg
Posts: 23
Joined: Wed May 30, 2007 4:15 am

Ignore parts of the datasource? Possible?

Post by incognito_gbg »

I create the report in the designer, and I register the data by code (a XML read into a Dataset).
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Ignore parts of the datasource? Possible?

Post by Edward »

incognito_gbg wrote:I create the report in the designer, and I register the data by code (a XML read into a Dataset).
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.

If the issue is still present in your report, please send test application to support[at]stimulsoft[dot]com.

Thank you.
Post Reply