Hi,
I am using a dataset for my Crystal report. Query: Select * from Orders where Date = @Date
How do I pass that to my Crystal Report. This will be passed with a calander I have on my form with a button to display data.
Thanks for the help.
Do u want to Pass Date value as a parameter to the Crystal report.....
Create a Parameter Fields in your report .Name it as Order_Date,set its Value Type to Date.......By right Clicking on "Parameter Fields"-----> "New" option.....
In code behind to set the parameter value the code will be like following.....
- Dim oRpt as Myreport
-
oRpt.SetParameterValue("Order_Date", myDate)