Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reporting from???
Message
 
To
06/12/2003 13:10:08
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00856601
Message ID:
00856695
Views:
21
I use Crystal Reports in VS.Net and here are the steps I go through to create and display a crystal report.

1. Determine the structure of my reporting table and build a typed DataSet based on this structure. I like to do all the data manipulation myself in code and end up with one table to report from.
2. Create Report form using Crystal Report editor in VS.Net using the typed DataSet as a data source.
3. Write a method in the appropriate business object to fill this dataset.

To display the report:
1. Instantiate an instance of the report.
2. Set the report data source to the type dataset, which should be filled with data at this point.
3. Create a Session object called "CurrentReportObj" that contains the report object.
4. Call an aspx page with just one Crystal Report Viewer control on it. In the load method of that page create a check of the session object for a "CurrentReport" object. If it exists set the report viewer control source to that object and allow the form to load.


>Hello All,
>
>I am brand new to WEB development. My first two web pages ever developed was using the Jump Starts in MM .NET 1.1. Thanks to Kevin for getting me over this first, and most important hurdle.
>
>Once development has been completed, creating the data entry forms for the WEB, setting up security and tables and the rest, how does one report from the tables? I kind of need a basic A-Z kind of explaination here. "A" being here are the tables in SQL Server, "Z" being here is the PDF sent to the user. I have no idea what happens in the middle.
>
>Just in case this will help, I currently own an up to date version of Foxfire! 6.04 Developer. Is there any other software that may be very useful to purchase?
Rip Ryness
International Falls, MN
Previous
Reply
Map
View

Click here to load this message in the networking platform