R
Raj
hi,
How to pass a Two Date parameter to a report at runtime using VB .NET
1. How do we pass multiple values eg. Startdate, EndDate to crystal
reports
parameter.
2. I have a report to filter by two dates like FromDate And ToDate
my Code is following which i have written.
It shows Error like " Date time Required"
Dim SelectFormula1 As String
SelectFormula1 = "{tblSample_Master.DateOut} in '" & StartDate & "' to '" &
EndDate & "'"
CrystalReportViewer1.SelectionFormula = SelectFormula1
CrystalReportViewer1.RefreshReport()
CrystalReportViewer1().ReportSource =
"D:\KOTITI\RptSummaryReportFromDateToDate.rpt"
thanx
Raj
--
Raj Kumar Mishra
jcast Networks Ltd.
New Delhi.
India.
91-51678212,13,14
How to pass a Two Date parameter to a report at runtime using VB .NET
1. How do we pass multiple values eg. Startdate, EndDate to crystal
reports
parameter.
2. I have a report to filter by two dates like FromDate And ToDate
my Code is following which i have written.
It shows Error like " Date time Required"
Dim SelectFormula1 As String
SelectFormula1 = "{tblSample_Master.DateOut} in '" & StartDate & "' to '" &
EndDate & "'"
CrystalReportViewer1.SelectionFormula = SelectFormula1
CrystalReportViewer1.RefreshReport()
CrystalReportViewer1().ReportSource =
"D:\KOTITI\RptSummaryReportFromDateToDate.rpt"
thanx
Raj
--
Raj Kumar Mishra
jcast Networks Ltd.
New Delhi.
India.
91-51678212,13,14