Topic: Dynamic Report 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,
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
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>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum