Crystal Report Viewver - Strange problem

Hi all,

I've a MDI based windows application in C#.It contains many child forms and one of the form is called ReportForm,which is just a container of CrystalReportViewer object.

The ReportForm can be opened from other child forms.Now ,when i run the application ,when i try to open the ReportForm for thr first time it throws me an exception
 
"Overflow or underflow in arithmetic operation"

When i debug i found that the CrystalReportViewver object creation in InitializeComponent of ReportFor is causing this exception.

this.ReportLoader = new CrystalDecisions.Windows.Forms.CrystalReportViewer();

Now,when i again tried to open the ReportForm without closing the app there is no Exception.

I wonder why this exception comes and how to fix this.

Please help.

I'm using VS .net 2002.

Thanks,
Suresh.


Answer this question

Crystal Report Viewver - Strange problem

  • Mark Blomsma

    any ideas guys

    Suresh.

  • rax_uk

    Your report might be having some integer field Intially which has some junk values. But when you run it again that field takes some calulated value. CHeck Your report fields




  • Crystal Report Viewver - Strange problem