My Crystal Report is not getting refreshed while passing parameter?

北慕城南 提交于 2019-12-12 13:28:38

问题


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?


回答1:


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.




回答2:


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

I think it will help you




回答3:


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!



来源:https://stackoverflow.com/questions/8676448/my-crystal-report-is-not-getting-refreshed-while-passing-parameter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!