Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9760

Re: Paging shows "No Errors" Message

$
0
0

Hi Ludek,

Thanks for your reply, I did tried your suggestion and actually worked on the demo.

 

Unfortunately I couldn't make it work on my production app.... BUT after adding some lines before assigning the line:

reportViewer.ViewerCore.ReportSource = vObjReport;

 

I added the following code (before line above):

foreach (var vParameter in GetParameters())

                {

                    ParameterField vParam = vParameter as ParameterField;

 

                    if (!string.IsNullOrEmpty(vParam.ReportName))

                        vObjReport.SetParameterValue(vParam.ParameterFieldName, (vParam.CurrentValues[0] as ParameterDiscreteValue).Value, vParam.ReportName);

                    else

                        vObjReport.SetParameterValue(vParam.ParameterFieldName, (vParam.CurrentValues[0] as ParameterDiscreteValue).Value);

                }

==============

NOW WORKS!!!!!

==============

 

Believe me this is a two year issue we couldn't solve.

Thanks a lot for your time.


Viewing all articles
Browse latest Browse all 9760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>