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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open a Cristal report in VB?

Status
Not open for further replies.

snehakevin

Technical User
Sep 14, 2003
33
0
0
SG
I have a Cristal report to be opened in VB.
My application runs in a stand alone PC, which has no VB or Cristal report installed. I have copied the .rpt files.
How do I open these reports? The data is from MDB.

Please help
 
you must install VB and Crystal Report in your pc.
in your application, add the crystal report component in your toolbar. here's the code...

Private Sub Command1_Click()
CrystalReport1.filename = app.path + "\report.rpt"
crystalreport1.action = 1
End Sub

hope this helps.

-takishi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top