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!

Save report as pdf file

Status
Not open for further replies.

sarun108

Technical User
Jul 27, 2008
5
ACCPAC 5.2

Need help in setting up a macro that can save the results of the Report in a pdf file without having to go through the Export File dialog.

Any suggestions?

Here is a code snippet:

Here is a small snippet of code:

rpt.Format = PF_PDF

rpt.OutputDestination = OD_CLIENT
rpt.PrintDir = "c:\temp\"

rpt.PrintReport


 
You cannot in 5.2, it is possible in 5.3 and up.
Unless you write something using API calls to send keystrokes to the Crystal dialog.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top