Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The problem is being able to execute Crystal Reports unattended - scheduled or triggered in some ways. I have seen various utilities online (claiming solution to this issue) for purchase but not viable for my environment. I need a 'home grown' solution. Can I cook something with Python or C or Powershell?

What I have tried:

I have tried Crystal Report itself. While it is able to load reports submitted via command-line, it does not execute the report until user presses F5. That is the kicker - will not execute unattended. I am unable to locate a free utility identified online as "CrystalReportNinja.exe"; it is said to solve this problem.
Posted
Updated 28-May-21 3:33am
Comments
PIEBALDconsult 28-May-21 9:36am    
I've done a bit of that, about fifteen years ago, using C#.
The main thing you'll need to overcome is when a report requires parameters -- you'll need a way to get the values and supply them.
I'll have to see whether or not I still have the code, it was for a previous employer.
Richard Deeming 28-May-21 10:16am    
Maybe Microsoft's recent automation tool could help?
Automate tasks with Power Automate Desktop for Windows 10—no additional cost | Power Automate Blog[^]

However, I don't know whether it has any integration with Crystal Reports, nor how difficult it would be to add it if not.
[no name] 28-May-21 14:02pm    
I used C#:

https://stackoverflow.com/questions/16218371/displaying-a-crystal-report-using-c-sharp

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900