Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Totally fed with crystal web and paramters

Status
Not open for further replies.

Trainingjason

Instructor
Dec 6, 2001
127
GB
I am newbie to vb.net and crystal.net but not crystal. I am passing a date range parameter to crystal by overwriting a preexisiting parameter. I have a dropdown list with date ranges, and a button to show the report.

Works OK until I want to see the data in page 2. No data appears, even though I now there is.

So I now try to Then hell breaks loose. Iniatially I added code to the page_load event
If IsPostback=true then
With CrystalReportViewer1
.reportsource="c:\test\test.rpt"
.visible=true
end with
end if

Obviously I had not passed any values to the parameter. When the form loads, errors occur for currentparametervalues. So I now need to pass a null or a fictious date which returns no data, on start up, or returns the parameterised values for page 2 onwards.

I hate crystal.net
Jason
 
Jason - I hear ya - I have never been a Crystal fan myself, although I suppose if one can master it, it is quite a tool (something like Photoshop, if you know what you're doing you can carry out some serious graphic feats).

I can tell you that there have been some posts here at the ASP.NET forum over the months on Crystal reports, so you might do a quick search - alternatively, if you don't get much response here, you might want to post at the Crystal forum and carry out a more limited search at sites specializing in Crystal reports.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top