PDA

Click to See Complete Forum and Search --> : Problem in passing parameters in crystal report


zubairkhan
Nov 10th, 2007, 02:04 AM
Dear Friends

I am using crystal report 8's control in vb6. My report is attached with stored procedure which have two date parameters, when i am passing parameter values it returns error "invalid parameter values".

Crt.ParameterFields(0) = "@firstdate; = '" & Format(dtStart.Value, "yyyymmdd") & "'"
Crt.ParameterFields(1) = "@lastdate; = '" & Format(dtEnd.Value, "yyyymmdd") & "'"
Crt.Action = True

any solution plz

Regargs