I have created a parameterised stored procedure in which i will be passing a date and accordingly records will be fetched.In Crystal reports I choose this stored Procedure and I automatically get this date parameter as parameter fields as @dt.When I pass the date to this parameter through VB I get the error as "Invalid parameter field value." My code in VB is something like this:
sdt1 = Format(DTPicker1.Value, "yyyy,mm,dd"
CrystalReport1.ReportFileName = App.Path & "\reports\test.rpt"
CrystalReport1.ParameterFields(0) = "@dt; DATE(" & sdt1 & "
;true"
CrystalReport1.action = 1
Can some one tell me what's the problem?
sdt1 = Format(DTPicker1.Value, "yyyy,mm,dd"
CrystalReport1.ReportFileName = App.Path & "\reports\test.rpt"
CrystalReport1.ParameterFields(0) = "@dt; DATE(" & sdt1 & "
CrystalReport1.action = 1
Can some one tell me what's the problem?