on 02-15-2017 9:58 PM
I have a Report with a SubReport. The SupReport contains 3 tables; "Header", "Patient","Sample". I have created a dataset (ds) in C# (Visual Studio 2015) with multiple tables, three if which are the 3 tables above. I create a New DataSet, "dsPmHeader" and Copy from the ds DataSet to the dsPmHeader DataSet;
DataSet dsPmHeader = new DataSet(); dsPmHeader.Tables.Add(comboReport.pm_Screen.Tables["Header"].Copy()); dsPmHeader.Tables.Add(comboReport.pm_Screen.Tables["Patient"].Copy()); dsPmHeader.Tables.Add(comboReport.pm_Screen.Tables["Sample"].Copy()); subreport.SetDataSource(dsPmHeader);
When the "subreport.SetDataSource(dsPmHeader);" is called an
Exception thrown: 'System.OverflowException' in mscorlib.dll occurs twice
I have checked these three Tables in the DataSet and all fields have a Value or is [Empty].
I have checked the Dataset Definition .xsd and verified that all fields have a default value.
The entire code is running in a thread.
Any idea why I am getting this Exception?
Thanks
What SDK are you using?
Did you open the Subreport first?
You may need to use ReplaceConnection() to change the database name.
If you save the XML/XSD to file and then set location to those files does it work in CR Designer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.