Solved

Automate a Crystal Report

Posted on 2013-10-28
3
2,506 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now