Hi All,
I have Created a Crystal Report.This is my Code :
Private Sub LoadReport()
Try
FetchData()
FrmCrReportViewer = New FrmCrReportViewer
FrmCrReportViewer.FViewer.DisplayToolbar = True
InsParamRpt = New InspectionParameterRpt
InsParamRpt.SetDataSource(oDs)
InsParamRpt.DataDefinition.FormulaFields("Headings").Text = Chr(34) + "Inspection Parameter Report" + Chr(34)
FrmCrReportViewer.FViewer.ReportSource = InsParamRpt
FrmCrReportViewer.FViewer.EnableDrillDown = False
FrmCrReportViewer.Show()
FrmCrReportViewer.Refresh()
Catch ex As Exception
Throw ex
End Try
End Sub
I doesn't get any error. the problem is when i use Show dialog the report is generating but i doesn't access other sap forms before closing the report window.When i us Show() method the report content is not displaying.even i refresh it,it doesn't show anything.I can't close the report itself.
please help me to solve the problem.
Regards
Mohana