Reputation: 85
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
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
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