Print Page | Close Window

Loading crystal reports when application starts?

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=4285
Printed Date: 07 May 2024 at 7:22am


Topic: Loading crystal reports when application starts?
Posted By: Kanesh
Subject: Loading crystal reports when application starts?
Date Posted: 17 Sep 2008 at 9:25am
Hi ,
 
I have a windows application and a part of this application creats reports.
The problem is that creation of the first report, takes a very long time to load. Ofter that reports will create very fast.
My questions is, is it possible to load crystalreports when the application starts??
 
Thanx, and sorry for my english Embarrassed



Replies:
Posted By: BrianBischof
Date Posted: 17 Sep 2008 at 9:36pm
You can declare a report object, load the report into the object variable, and then set the object to Null.  By not assigning it to the report viewer, you could put this code in the beginning of your application.

-------------
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>


Posted By: Kanesh
Date Posted: 18 Sep 2008 at 3:27am
Thanx a lot, this works great.



Print Page | Close Window