Print Page | Close Window

Dynamic Report

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=606
Printed Date: 01 May 2025 at 4:37pm


Topic: Dynamic Report
Posted By: vijay
Subject: Dynamic Report
Date Posted: 29 Apr 2007 at 11:10pm
Hi,
  I am a new user fo crystal report. I learned to create with rpt files. Unfortu we have more than 600 reports. if i create reports with rpt, my exe file will become a huge one. so we planned to design the report by c# coding(Like placing the text objects and assigning the values).. any one plz help me to do this,
 
Thax in Advance
Vijay



Replies:
Posted By: BrianBischof
Date Posted: 30 Apr 2007 at 11:57am
Yes, with 600 reports this will be a huge application. You can save the reports as a separate file outside of your application and this will make the EXE smaller, but then you will have lots of files to manage.

If you want to create a generic report, you can use the ReportDocument object model to dynamically assign fields to each report object. I have lots of code in my Crystal Reports .NET book (it was written for VS.NET 2003 but the object model code will still help you).




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