Crystal Reports Viewer - Object Required when passing parameters

By MissIT2007 ·

I am currently writing crystal reports to run off our intranet. I am using CrystalReportViewer to show them on aspx web pages, this works ok when there are no parameters to pass to the report.
When you try to pass parameters to the crystal report it comes up with the error message "Object Expected" and does nothing.

Can anyone please help?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Code required

by ganeshkumarvkm In reply to Crystal Reports Viewer - ...

Can you just post the code which you used for binding data to the crystal report viewer?

Collapse -


by MissIT2007 In reply to Code required

Hi, thanks for responding.

I basically just added it into the web page
using visual studio's reporting toolbox. There isn't any code other than the class declaration(?) below . Apologies but I'm not a programmer.

Protected Sub CrystalReportViewer1_DataBinding(ByVal sender As Object, ByVal e As System.EventArgs) Handles CrystalReportViewer1.DataBinding
End Sub

It's probably something really simple that I'm missing.


Related Discussions

Related Forums