How to automatically run crystal reports - crystal-reports

Once a week I need to run a bunch of Crystal Reports and then email them. I want to know if there's a way to run them automatically? I've tried using Crystal-Delivery, but for some reason it only runs the reports that don't have parameters.
Has anyone used Crystal-Delivery before and have a solution for my problems? Their forum is not very helpful. Or is there other software that can do what I need.

Yes there are various solutions, including Crystal Delivery which I have used successfully with reports with parameters. After adding the report double click, and complete the "parameters" tab.

There's a few ways one can skin this. There are various options to build a pdf from a given report (if you're building in java for instance) and one can fairly easily run the java on a cron, and then have a mail script running on cron to send out those files once they've been created (that mail script could be in php or java or whatever takes your fancy).

Related

githubActions : how display a test coverage?

I use github actions.
My gradle project use jacoco to produce a test coverage report, on the form of a website.
How can I display it directly on the browser ?
Actually when JaCoCo builds report in html format it produces a bunch of files and folders. So, there is no possibility to open that main html file directly in your browser. But here are possible solutions that might be useful for you:
Publish generated static files on some server, like GitHub Pages for
example. Where you can see generated report in a website mode (you
can configure notification with the link when published report is
ready).
Archive generated report and upload it as artifact. Then you
can easily find each report for each job if needed.
Build report as xml and just print it in output window.
Archive generated report and send it to some your running server.
Based on your needs maybe you find some of these suggestions useful but probably first option only directly answers your question.

Crystal Reports has stopped working

On only certain reports, Crystal Reports crashes and gives this error (see attached picture).
I am still relatively new to Crystal and am not sure how to diagnose this error or where to find error logs that might point me in the right direction. I came across a post somewhere about windows version compatibility, but I'm not sure if that's it.
I'm running Crystal Reports product version 14.1.2.1121 on Windows 10. Has anyone else run into this issue?
Try to install Crystal Reports in Windows 8.1, then later update your OS to Windows 10,then it will work fine :)
This is something that may happen from time to time in CR, except if you get this every time you open a report in particular or too often. Although the information need some additions. Is this on client or developer end?
May you have to do following steps:
1. Right-click My Computer, then click Properties then click the Advanced tab.
Click the Performance Settings button then click the Data Execution Prevention tab.
Select the Turn on DEP for all programs and services except those I select: check box.
Add all of the Crystal Enterprise executables.
click ok. and close the window. open crystall report now.

Crystal Reports Dynamic Cascading parameters are not populating

System:
Windows 7 with Crystal Reports 2013 Demo.
Windows 7 with Crystal Reports 11.5.12.1838
Initially Dynamic cascading parameters were not working for existing reports written by other analysts. The analysts are using XP systems. When they open the reports, their prompts populate correctly. Mine are blank. We downloaded 2013 to see if it was fixed in this version since XI is so old and is not officially supported on Windows 7. For one day the reports dynamic prompts were populating correctly and we were all excited. I continued on modifying the report, but had an issue and the application got closed non-gracefully. Now no dynamic prompts are populating in the report that was working yesterday. And again, any report that I open with dynamic cascading prompts do not populate. This has been an ongoing issue that we were excited that a resolution had appeared, but now we are back to square one. One of the other analysts was able to open the report again in XI and see the prompts correctly. This is a standalone report. We do not have a Crystal Report Server. We do not have Business View Manager. This issue is occuring in the designer for crystal reports on my computer only. When i copy the report to our test server and use our third party viewer(datalink) the prompts work fine.
Furthermore: Originally because of non-administrative privileges, I had my ODBC Drivers setup in user DSN. With the help of an Admin user, i setup the drivers in System DSN. I reloaded the original production report that I was trying to modify and set the location to my new dev odbc connections. But that still did not load the dynamic parameters.
From Crystal Reports Designer
From Datalink Viewer
Any suggestions on how to troubleshoot this?
This looks like a connection issue. Is the new OS 64 bits ? If it is, you need to create the ODBC connection using the tool placed in this path: C:\Windows\SysWOW64\odbcad32.exe
OK. This appears to be one solution. I was working with another laptop, that had a working crystal reports version. BUT, i had to do the whole maximumrowsets fix. Well, I must have messed up because the working crystal reports started doing the same thing. Oops. So I uninstalled crystal reports, deleted any of the registry keys associated with it, deleted any of the folder locations, rebooted and reinstalled and voila...it worked again. so then i used
this site and it continued to work as desired. This probably isnt the only solution, but it definitely worked for me.
I'd also like to thank campagnolo-1 for his tireless assistance.

Crystal Report Viewer 2010

I'm using Crystal report 2010 with VS 2010, and i have 2 web projects, the first is the one that my organization works with and the second is a dummy one - this is for test only -, my problem is when dealing with charts or pictures, every thing OK in the second project, but in the first one charts and pictures are displayed very will in crystal report designer, and preview, but nothing is displayed at run time. the environment of the 2 projects are identical (the same referenced DLLs, and from the same location "Local Folder", the same binding method "Objects", the same registered and add "Keys, and Assemblies" in the web.config).
kindly, note that one of the differences between the 2 projects is that the working one was created after installing Crystal Reports 2010 for VS, and the primary one was created before the installation.
please, does any body has an idea where is the mistaken part, or where I'm i suppose to search about the malfunctioning configuration, or ...... etc.
I'm sorry to bother you all the previous period,
we discovered the issue source, it is an htppModule related to our security module, we do not know what is cause of this conflict tell now, but at least we knew the source, every thing is OK, if the registration of this httpModule removed from the web.config.
Sorry again, and most thanks.

Is it possible to run a VBA form as a .exe file

Is it possible to save a form in VBA as .exe file and then run it.
No, not natively.
There are some ways to emulate an EXE:
Excel: 3rd party tool that claims to be able to compile an workbook to an EXE: DoneEx XCell Compiler. You can also create an automatic marco, Auto_Open, to run when the workbook is opened.
Access: Microsoft used to have a way of delivering an Access database as an executable (the name of the tool escapes me) so you could deploy your database to desktops that didn't have Access installed, but I don't think they offer this anymore. You could convert you MDB to an MDE and set the startup properties to hide the database window and menus and such to emulate an EXE, but your users will need to have Access installed.
Word: You can pass the /m switch to Word on startup with the name of a macro to run.
I think there is at least 2 way
move the code into visual basic 6 and compile it or use visual studio tool for office and see what you can do.
if these 2 solutions is a no no for you, then you are out of luck
No. VBA is an addon to applications to support "scripting" in the form of VB.
So unless your application supports a way to save the internal script as en external EXE, you are out of luck.
I think DoneEx still needs Excel installed, it just bootstraps something to the xls file, or bootstraps that to something and wraps it up as an exe???/..
as I think this does.
http://cpap.com.br/orlando/XLtoExeMore.asp
But at least the second one if free!
I have not tested on PC's with out office.
what is it you are trying to accomplish there may be a work around another way?
thanks
Ross