Last post Oct 16, 2012 12:36 AM by nabh19
Oct 13, 2012 03:25 PM|nabh19|LINK
I'm stuck with an issue. I'm trying to display records in a crystal report. There's only one parameter for report. I'm using a drop down in the web form. Selecting an option & Submitting the form displays the report once. Even Navigating the report works
fine. But submitting the form second time...doesn't work it displays : Error Missing Parameter Values.
Thanks in Advance.
Oct 14, 2012 07:10 AM|abrly|LINK
pass the parameter to report every post back of your page .. ( don't use if not page.ispostpack ...)
Oct 16, 2012 12:36 AM|nabh19|LINK
Thanks Solomon For your response.
However I resolved it in a different way. I learnt that there could be various reasons for this error to occur. Unfortunately it doesn't throw exception while debugging the program. It simply doesn't work at runtime.
One of the primary reason is (for others who'll ever stuck in the same situation) Parameters was assigned to the crystal report viewer before the DataSource assignment.
Assignment of Parameters to Crystal Report Viewer prior to DataSource Assignment may work or may not.
To make things work (make it a good practice) make sure that Parameters should be assigned to crystal report viewer after the DataSource assignment.
That Actually Resolved my Issue.