We are trying to have a CMD batch file run on a regular basis using Windows Task Scheduler that runs an .rpt file with given criteria that saves the results as a PDF locally.
Does anyone have experience with this that knows how this can be done?
Running Crystal Reports 2020 x64 version 14.3.0.3532
Request clarification before answering.
Ken Hamady maintains a list of 3rd-party tools that can do this here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no way to run a report from the command line unless you write a program that will run the report and then call that program. There are two SDKs available to accomplish this, both of which are free to download and work with. If the program will be used in-house, there is no further licensing required other than you have to have a full copy of Crystal (which you do.)
.NET SDK: https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
Java SDK: https://wiki.scn.sap.com/wiki/display/BOBJ/SAP+Crystal+Reports+version+for+Eclipse+-+Downloads
Both wikis include links to licensing information and the .NET SDK wiki also has links to sample code.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.