Yasemin Boy Ertan
Yasemin Boy Ertan

Reputation: 85

crystal report in asp.net - missing parameter value

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.

Upvotes: 0

Views: 4726

Answers (2)

StevieTimes
StevieTimes

Reputation: 465

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

Upvotes: 3

MD-Tech
MD-Tech

Reputation: 1224

"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.

Upvotes: 1

Related Questions