crystal report in asp.net - missing parameter value

4.4k views Asked by At

I want to print my report but this error occurs. which parameters I have to define before printing? I define the printer name and parameters of PrintToPrinter function. Thanks.

2

There are 2 answers

3
MD-Tech On BEST ANSWER

"Missing parameter value" means that you aren't providing the report with all the parameters it needs to get the data. You must provide values for all non-optional parameters in a report for it to be able to get data.

0
StevieTimes On

want to know what parameters you're missing?

                For Each key As ParameterField In CrystalReport.ParameterFields
                If key.HasCurrentValue = False Then
                    Debug.Print(key.Name.ToString)
                End If


            Next