Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 30th, 2010, 10:55 AM
Registered User
Join Date: Mar 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Unhappy paging problem in winforms

I work with C#.NET in a product that generates reports using the .NET CrystalReportViewer in Visual Studio 2008.
When a multi-page report is generated, I click the "next page button", and I'm taken to the next page in one second or two. When i use "go to" box, the viewer is too slow, more than 30 seconds and even minutes! If I click the "last page" button, it takes me to the last page in 10 minutes or more!
The reports often have more than 600 pages.

I did a debug from the code and there is no problem with the database, query, and so on.All the process take only few seconds . I think the problem is in the CrystalReportViewer.

Has anyone encountered this issue before? Any input would be appreciated.

The code:

public void print(string tipocomp, string nrolote)

DataTable rows = someClass.searchMovFac(tipocomp, nrolote);

DsFactura _facturaDS = new DsFactura();//DataSet DsFactura


frmFacturas vistaFormAB = new frmFacturas();//winform

switch (tipocomp)
case "A":
FacturasA facturaA = new FacturasA();//Report


//vistaReport is a CrystalReportViewer
vistaFormAB.vistaReport.ReportSource = facturaA;

case "B":
FacturasB facturaB = new FacturasB();
vistaFormAB.vistaReport.ReportSource = facturaB;


Reply With Quote
  #2 (permalink)  
Old March 31st, 2010, 01:11 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik

dear friend, I guess it ok for ur case to be a bit slow to finding in XX page since ur report has more than 600 pages & its gonna load them all.
check something...
when the Report is loading... look at the buttom of where its counting the pages PAGE X of Y, does it tell u all pages or its still loading?
or does it happend again after ur first 30 sec to go to last page? I mean when u press goto X Page then comming to prevous pages r slow? or not?
Hovik Melkomian.
Reply With Quote
The Following User Says Thank You to melvik For This Useful Post:
justanita (March 31st, 2010)
  #3 (permalink)  
Old March 31st, 2010, 10:43 AM
Registered User
Join Date: Mar 2010
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts

thanks Melvin!

When the crystalReportViewer opens, it shows me "number of total pages 1+", not "number of total pages 600".Then i press "next page" button and it shows "number of total pages 2+". if I use "go to page 15", then the viewer shows "number of total pages 15+". I think the viewer doesn't load all the pages. Maybe that's why it takes so long to send to print and moving to the last page (at least 5 minutes!).

what can i do to load all pages? Any answer please?

Any input would be appreciated.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Winforms V1tamin_C C# 16 May 23rd, 2008 04:19 AM
Problem in using Browser in Winforms jay69 C# 0 December 5th, 2006 05:49 AM
Paging Problem aneesh_sunu@yahoo.co.in PHP Databases 1 November 25th, 2006 02:25 AM
Debugging Winforms gaghazoul Visual Studio 2005 0 May 18th, 2006 01:43 PM

All times are GMT -4. The time now is 05:53 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.