Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: Refresh button issues Post Reply Post New Topic
Author Message
Molly
Newbie
Newbie
Avatar

Joined: 28 Apr 2011
Online Status: Offline
Posts: 10
Quote Molly Replybullet Topic: Refresh button issues
    Posted: 01 Jun 2011 at 6:01am
Ripping my hair out. 

This was working and all of a sudden stopped working.  I'm hoping someone can help me.

When you push the refresh button it was simply popping up the needed parameters automatically so you can enter them and then refreshing the report, and now all it does is pop up the thinking wheel and say 'Please wait while the document is processing' and hangs there.

I'm trying to load a CrystalReportsViewer, and it pops up fine the first time.  I pass in the report path from another form and my code looks like this,  (really you would think this would be simple!).  What am I missing here?


public string rpt;
ReportDocument newReport = new ReportDocument();

 private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            newReport.Load(rpt);
            crystalReportViewer1.ReportSource = newReport;
        }




Edited by Molly - 01 Jun 2011 at 6:02am
IP IP Logged
Molly
Newbie
Newbie
Avatar

Joined: 28 Apr 2011
Online Status: Offline
Posts: 10
Quote Molly Replybullet Posted: 01 Jun 2011 at 9:07am
Well figured it out, 4 hours of wasted time, ridiculous...

I changed my TopMost form property to True, which causes the hang.

Change it back to TopMost to False, parameters pop up no problem.


IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.016 seconds.