hai
iam facing problem to pass recordset to a report through visual Basic Form.
actually i got it through Crystal report Viewer.
through following code i got it.
-------------
Report.DiscardSavedData
Report.PerformGroupingOnServer = True
Report.Database.SetDataSource objRs
Report.ReadRecords
Screen.MousePointer = vbHourglass
CRViewer1.Zoom 100
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
Here Report is a object of Visual basic Designer
_________________
But my need is to achive this with out using this VB designer & crytal viewer.
assume that my report is in one folder & VB application is another folder.
i need to call the report through VB also i need to pass the record set to that report.
Crystal reports version is : 8.5
I am very thankful in this regard.
Vas
iam facing problem to pass recordset to a report through visual Basic Form.
actually i got it through Crystal report Viewer.
through following code i got it.
-------------
Report.DiscardSavedData
Report.PerformGroupingOnServer = True
Report.Database.SetDataSource objRs
Report.ReadRecords
Screen.MousePointer = vbHourglass
CRViewer1.Zoom 100
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
Here Report is a object of Visual basic Designer
_________________
But my need is to achive this with out using this VB designer & crytal viewer.
assume that my report is in one folder & VB application is another folder.
i need to call the report through VB also i need to pass the record set to that report.
Crystal reports version is : 8.5
I am very thankful in this regard.
Vas