Skip to Content
0
Former Member
Mar 23, 2011 at 02:09 PM

How to make Crystal Reports to get paginated data from datasource?

141 Views

We're testing the SAP Crystal Reports for ASP.NET using Visual Studio 2010 to see whether or not it meets our needs.

One flaw we have detected that makes it unfeasible to use is that, for some reason, when connected to our IDataSource that returns a collection of objects, the CrystalReportViewer does not ask for paginated data. It gets the DataSourceView and calls its ExecuteSelectMethod passing an DataSourceSelectArguments that does not ask for paginated data. It just brings everything from the datasource. The CanPage property of the DataSourceView returns true. It doesn't even ask for count.

On the other hand, the pagination on top of the control shows an uncertain number of pages, what makes us believe that there might be a way to work with paginated data.

The fact that it retrieves everything may cause the preview of a 100+ pages report to take forever before the user can preview it.

Is there a way to make it to work with paginated data? Or a faster way to present to the user a preview of very long reports?

Thank you