Crystal Reports on its own does not supply you with a command line tool, as far as I know you need to do one of the following.
1- Use VBScript
2- Create your own application (VB/C or other) and execute it using one of the supplied SQL Server commands (xp_cmdshell for example).
3- Use a CrystalViewer tool. There are a few available on the web.
You can also use Crystal Enterprise and simply use the Crystal Reports Scheduler to automate report jobs. I've just started using Crystal and I suppose it is possible that you could figure out where Crystal Enterprise stores it's scheduling data and if that is available via an ODBC data source you could have your TSQL JOB insert a value/row to the Crystal scheduler. Again that is just theory as I don't have access right now to my companies crystal enterprise server to see if I can hack and find the data source.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.