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

Crystal reports newbie

Status
Not open for further replies.

dominiopt

Technical User
Sep 10, 2001
75
PT
Since i'am new in Crystal reports i start doing small tests for understanding the proper user way but why i don't get the crystal report window with this small code ?
The report are there, maybe i miss something ?

Private Sub Form_Load()

With CrystalReport1()
.ReportFileName = "c:\files\report.rpt"
End With

End Sub

Simple code for understanding this will be very appreciate.
Thanks
Fernando
 
Your code doesn't really do anything! All your doing is setting the report file name, you need a CRViewer to display it in.
Best place to start is by looking at the sample apps that ship with Crystal. Andrew Baines
Chase International
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top