By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,455 Members | 1,434 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,455 IT Pros & Developers. It's quick & easy.

Crystal Report not showing up after setting params.

P: n/a
I have built a report using Crystal Report 8.0, which is set to get its
data from a MS SQL Stored Procedure with 1 Parameter(smalldatetime). I
can get the report to display in crystal with data, and can execute the
sp in a query and get returned data. However, I can not get the report
to load into the Crystal Report Viewer on the form.

I am using a modal dialog window( webform) to pop up and ask
them the parameter for the report, then raising an event passing it
back to the parent form. It then sets all login info, adds the
parameter to the report document, and sets the viewer source but only
the viewer control shows up, no report or data.

Example code using a static value:
ParameterValues pvs = new ParameterValues();
ParameterDiscreteValue pdv = new ParameterDiscreteValue();
pdv.Value = "5/5/2004";

// Sets some table login info on all datatables in the report
crv1.ReportSource = rpt1;

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.