Dineshkumar R
Dineshkumar R

Reputation: 55

My Crystal Report is not getting refreshed while passing parameter?

I have created my Crystal Reports using SQL query in Crystal Reports itself, by passing two parameters, i.e, say for eg:- Month & Year.

While I preview the report, I can able to navigate through all pages by passing different parameters and its working fine, but while viewing the report through browser I can't able to view the current report instead is loads the previously generated report, but while I manually make refresh the crystal page in toolbar I can see the current report, even I can't navigate the current report.

Can anyone help me on this?

Upvotes: 3

Views: 9957

Answers (3)

Abdul Muheet
Abdul Muheet

Reputation: 315

I know its too late for the reply, but I was facing the same problem may be somebody else will go through the same. I applied many hints from different sites including stack-overflow but finally I solved my problem with this code snip..

            crystalReportViewer1.Refresh();
            crystalReportViewer1.RefreshReport();

Thanks!

Upvotes: 0

user3159475
user3159475

Reputation: 11

go to file> save data with report.......

I think it will help you

Upvotes: 1

Brandon Moore
Brandon Moore

Reputation: 8780

Try checking the 'Discard Saved Data When Loading Reports' option.

Should be able to find it here: Right Click/Design/Default Settings/Reporting/Discard Saved Data When Loading Reports

Not sure if that will fix your problem or not but definitely worth a try.

Upvotes: 1

Related Questions