on 08-31-2011 12:48 PM
Hi!
I would like to take suggestions.
How is the best way to work huge volume of data.
For ex.: my db table contains about 6 000 000 records.
How do I need to implement paging in Crystal Reports?
Are there any options in ASP .NET Crystal Report View Control?
Thanks.
Other than filtering the data so that you dont have 6 million rows...
Make sure you connect directly to the database...do not use datasets or xml...at all..
Put the report into httpsession and set it to the viewers reportsource so that when you page you dont rerun the report every time.
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Other than using the Record Selection formula to do the filtering and running the report in blocks of data, this does hit the DB each time.
Another option is to use the CrystalDecisions.ReportAppServer.Controllers.FilterController SavedDataFilterController { get; }
Member of CrystalDecisions.ReportAppServer.Controllers.ISCRDataDefController.
You can add filtering on the fly with a report with saved data, not sure about performance with that amount of data though but depends.
I don't have any sample code, I do somewhere buts it's been a few years since I played with this function. I'll see if I can find it.
Don
From my point of view who will ever use 6 million rows of data? CR is free, if MS Reporting is free then use it.
Crystal is not a database archiving tool, filter your data into small enough info that will actually be of use to someone.
If you are summing or grouping then do it all server side using a stored procedure, DB servers are designed for this functionality. Use Crystal to format the results in a readable fashion.
Don
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.