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

Access and Crystal Reports

Status
Not open for further replies.

tigger23

Programmer
Sep 19, 2001
10
US
Does anyone know if it is possible to open Crystal reports from within access??? i have a form with a list box, which is connected to a table which contains te names of the reports.. when a user clicks on the preview button i want the report to open.
 
Add the Crystal report control to your form.
Name it CRViewer1.

under an event perhaps a button just use code like this

crviewer1.ReportFileName = "C:\reports\Apr01.rpt"
crviewer1.PrintReport
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top