cancel
Showing results for 
Search instead for 
Did you mean: 

Missing Parameter Error while exporting to PDF

Former Member
0 Kudos

I have created a crystal report using crystal 2008 (not the crystalreportviewer) and have one parameter. My problem that I am going through is that, when I click the button to open the report without passing any parameters , the report opens fine, when I pass the parameter and try to open the report in pdf it throws the missing parameter value error.  What surprises me even more is, when I pass the same exact parameter and display it in excel, it opens fine.

So, I know that the database connection is not wrong. and I also know that the parameter that I am passing is not wrong either (because it opens in Excel) but why does it throw the missing parameter value error when I try to open it in PDF then? I have the code attached. Please HElP, I have been doing everything and anything I have found over in the net, but nothing helped.

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

I don't see where you're setting a parameter in the code that you posted.  If you have a parameter that requires a value, you need to set that value in your code.

-Dell

Answers (0)