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!

Printing Crystal reports

Status
Not open for further replies.

RobM76

Technical User
Feb 6, 2008
17
CA
Hi,

I have created a crystal report to gather data and print when equal to a specific ID, and I want to call this report from vb and make it print the report using the ID I have open on my application.

So is there a command like this in existence?

call printreport(thereport.rpt, id=123)

Thanks
 
You can create your own module to do what you want. I just posted my code I use to open a crystal .rpt like last week. I'll look for the link.

Tom
 
Just found it on page 2 lol. See page 2 and maybe try searching the forum to avoid common repeated posts. For future searches the thread is thread222-1446104. In addition to my code just put in in a module and pass the report name and sql as needed.


Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top