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 biv343 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.

michaelacheson

Programmer
Nov 22, 2001
5
GB
How do I link to a crystal report from an Access command button in a form.

Thanks,
Michael
 
Add crystal report control to the form.name it crviewer1

on the buttons on click event place this code

crviewer1.reportfilename "pathtoreport"
crviewer1.printreport

this will bring the report up in preview mode
good luck
 
Yes, ... WHY would you use CR in/from Ms. Access?

If you JUST have to much money, hire me!

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top