Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Automate a Crystal Report

Posted on 2013-10-28
3
Medium Priority
?
3,712 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 101

Assisted Solution

by:mlmcc
mlmcc earned 1000 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 1000 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

885 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