Hi all,
I just created my first Crystal Report using ASP.Net, and followed the example I found online.
- This is what I did.
- I decided to use an already workable report created in Crystal Report version 8.5. This report passes in 2 parameters. (Order#, and Product# )
- Using Visual Studio Dot Net, on the Project menu, I added this Class on my Project using the "Add New Item" on my Web Form. On the Crystal Report Gallery, I chose the option to use an existing report. The report was pulled in exactly as needed. Next I dropped a CrystalReportViewer control on my web page, and a Report Document component as well. Thirdly, on my CrystalReportViwer1 Databaindings dialogue box, I bound my Report Doc component to my viwer control. Fourthly, I opended the Page_load and bound my report [ CrystalReportViwer1.DataBind() ]
At this point I ran my report, and behold, the report failed with the following error - "Missing parameter field current value". So my question is, do I have to pass this parameter field in Code? If Yes, please how do I do that?
- Or did I do something wrong in my steps in creating this report? Please advice.
Thanks.
I just created my first Crystal Report using ASP.Net, and followed the example I found online.
- This is what I did.
- I decided to use an already workable report created in Crystal Report version 8.5. This report passes in 2 parameters. (Order#, and Product# )
- Using Visual Studio Dot Net, on the Project menu, I added this Class on my Project using the "Add New Item" on my Web Form. On the Crystal Report Gallery, I chose the option to use an existing report. The report was pulled in exactly as needed. Next I dropped a CrystalReportViewer control on my web page, and a Report Document component as well. Thirdly, on my CrystalReportViwer1 Databaindings dialogue box, I bound my Report Doc component to my viwer control. Fourthly, I opended the Page_load and bound my report [ CrystalReportViwer1.DataBind() ]
At this point I ran my report, and behold, the report failed with the following error - "Missing parameter field current value". So my question is, do I have to pass this parameter field in Code? If Yes, please how do I do that?
- Or did I do something wrong in my steps in creating this report? Please advice.
Thanks.