Print Page | Close Window

Running Reports via Command Line

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=214
Printed Date: 02 May 2024 at 2:25am


Topic: Running Reports via Command Line
Posted By: chrisgin
Subject: Running Reports via Command Line
Date Posted: 15 Feb 2007 at 3:09pm
Does Crystal Reports come with a command line utility for executing reports or would we have to write our own?

What we want to be able to do is automatically run a report overnight via a SQL Agent Job (in SQL Server 2000/2005) and save the results in a PDF file. Although I'm sure there are other ways to schedule automatic reports, it has to be via a SQL Agent job for our purposes.



Replies:
Posted By: BrianBischof
Date Posted: 15 Feb 2007 at 3:51pm
Crystal Reports doesn't have a command line utility for running reports. I Googled it and it looks like there are various tools to do this (or you could easily write your own). I haven't used any so I can't recommend anything.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window