Solved

Automate a Crystal Report

Posted on 2013-10-28
3
2,851 Views
Last Modified: 2013-11-11
Hello,
Is there any way to create a batch file which can automate a crystal report.
It should run the report and generate the PDF's and store it in a folder.

Please any ideas.
0
Comment
Question by:Star79
3 Comments
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
ID: 39606963
No.  Crystal must run in Windows.

You can create viewing/exporting applications in .Net and schedule them.

There are also 3rd-party tools that can do what you want

Viewers
http://www.kenhamady.com/bookmarks.html#viewers

Schedulers
http://www.kenhamady.com/bookmarks.html#desktopsched

mlmcc
0
 

Author Comment

by:Star79
ID: 39606991
Hello mlmcc,
There is no free tool or anybody has created any batch file which will do the automation by running the report and exporting to pdf.
My reports are launched from a web application which is not built inhouse but third party.
Thanks
0
 
LVL 18

Accepted Solution

by:
vasto earned 250 total points
ID: 39607038
There is a free scheduler: http://www.groffautomation.com/

Another tool, which is free and might be useful is this one: http://www.r-tag.com/Pages/FreeCrystalReportsViewer.aspx
However you will need to run the reports (or packages) manually  because the free license include everything but no scheduling.


If you want to run the crystal reports directly you need to look for a vb script solution. BAT files will not work for this ( except if you use them to run another tool which will run the report)

Check this sample code:
http://forums.codeguru.com/showthread.php?466815-Scheduling-Crystal-Report-Using-VB-Script

Obviously it has some issues , but you will get the idea.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question