Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PASSING THE RECORD SET TO CRYSTAL REPORT

Status
Not open for further replies.

vassoft

Programmer
Jun 12, 2002
18
MY
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top