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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fed up with crystal and web it don't work

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
 
Check to see if you have created a default for these parms, if so remove it and try again..
 
No there was no default for the parameters, in the end we are passing through datasets via vb.net, gave up could not get the parameter working.

But thank you for replying
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top