I am building a winform (vs 2005 w/vb) to automate report exports to both excel and pdf. I am running into some problems. What is the best type of report object to use for this purpose. I am currently using:
Private Report As New Report_n
Sub ...
Report = New Report_n()
Report.Load()
CrystalReportViewer1.ReportSource = Report
end sub
My Problem is that when I try to automate the export, it won't work because the crystalreporviewer does not know when report is loaded so it tries exporting the report before it's loaded which causes an error. Any adivce? Thanks