This error appear because parameter fields in the file. RPT, is not equal as the field that you code
in visual basic.
Let see the following code in visual basic:
me.cr.parameterfields(0)="_user"
me.cr.parameterfields(1)="_reportname"
me.cr.parameterfields(2)="_period"
But in the file. rpt, you have not added the parameter fields, it will display the error "Run-time error '20553 ' Invalid parameter field name

The solution is, add a parameter field in the file. rpt in crystal report, as shown below:
AfterIn this article, I covered how to work with ParameterFields in CrystalReports technology. You can apply this technique to your own business case. Have Fun Guys!

No comments:
Post a Comment