JawwadLone
Programmer
hi everyone,
I am trying to display a report created in crystal report on my vb interface (using crystal report viewer). I am surprised to see the behaviour of my application. When i call the procedure to display the report for the first time, it works good. but when i call the same procedure second time it gives me "Memory Full" error. Following is the code which i am trying
Any help would be apreciated. Thanks.
Regards,
Jawwad Lone.
I am trying to display a report created in crystal report on my vb interface (using crystal report viewer). I am surprised to see the behaviour of my application. When i call the procedure to display the report for the first time, it works good. but when i call the same procedure second time it gives me "Memory Full" error. Following is the code which i am trying
Code:
Set CRViewer1.ReportSource = Nothing
CRViewer1.CloseView (CRViewer1.ActiveViewIndex)
Me.CRViewer1.ReportSource = rptReport
Me.CRViewer1.Visible = True
Me.CRViewer1.ShowFirstPage
Me.CRViewer1.ViewReport
Any help would be apreciated. Thanks.
Regards,
Jawwad Lone.