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 to PDF Conversion (Thousands of files)

Status
Not open for further replies.
Aug 24, 2004
98
US
I do have thousands of Crystal report files that need to be printed into PDF files (our default print driver). Right now we are:

1) Opening the Crystal Report File
2) Printing it into the PDF Driver with the same name that
they have at Crystal Reports

Do you know of any faster way to accomplish this task by maybe using batch programming or something like that. I know some VBscript that I could use if you give an idea
 
If you can create a batch file with one command line for each of these reports, then at least one of the report managers listed at: can do this for you by accepting command line arguments for the rpt file to be exported, the export format, the file destination, etc.

Creating such a batch file should be a relatively easy exercise.

Cheers,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
As a side note, since Crystal can use the local file system as a data source, it is easy to create a Crystal report that lists all the rpt files in a given directory.

From there, creating a formula that returns the command line for each report, and exporting the resulting content as a text file is a simple process.

I have a working example of such a Crystal report.

hth,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top