Click here to Skip to main content
15,900,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there...
I have created a crystal report in VS 2008 for generating a report with the backend procedure which accepts parameters.But unlike VS 2005 the report again prompt to ask parameters value.I want to avoid that.How?
In VS 2008 there is a provision to give the parameter value while creating a crystal report.When I give null I get the message of entering parameterized value.What else should i add there instead of null value...I must get a Report from the textbox values(in the web page) as parameters
Thank you in advance
Posted

1 solution

have you tried setting parameter values, like..

VB
Dim cr As New CrystalDecisions.CrystalReports.Engine.ReportDocument
cr.Load(strReportPath)
cr.SetDataSource(DS.Tables("Customers"))
cr.SetParameterValue("StartDate", strMyParmValue)
CrystalReportViewer1.ReportSource = cr
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900