Page 1 of 1

Ignore parts of the datasource? Possible?

Posted: Thu Nov 08, 2007 8:49 am
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?

Ignore parts of the datasource? Possible?

Posted: Thu Nov 08, 2007 10:44 am
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.

Ignore parts of the datasource? Possible?

Posted: Fri Nov 09, 2007 2:23 am
by incognito_gbg
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?

Posted: Fri Nov 09, 2007 4:00 am
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.