CharlesJC
0 pts. | Feb 3 2006 7:22AM GMT
avdberg,
Try changing the double quotes (”) around the date to a pound (#).
PaulRyan
0 pts. | Feb 3 2006 7:50AM GMT
Re-format the date string using the universal date format, e.g.
3 Feb 2006 (UK 03/02/2006) becomes ‘20060203′
Freejack
0 pts. | Feb 7 2006 11:14AM GMT
Try this for your date sections:
If IsDate(Request.Form(”datefrom”)) Then
set Param1 = session(”ParamCollection”).Item(1)
NewParamValue = CDate(Request.Form(”datefrom”)) ‘”08/05/2005″ ‘
Call Param1.SetCurrentValue(CStr(NewParamValue),12)
End If
If IsDate(Request.Form(”dateto”)) Then
set Param2 = session(”ParamCollection”).Item(2)
NewParamValue = CDate(Request.Form(”dateto”)) ‘”09/02/2005″ ‘
Call Param2.SetCurrentValue(CStr(NewParamValue),12)
End If
Also, be aware that it’s generally a good idea not to store external objects in Session variables if it can be avoided because this can have a negative impact on performance in IIS.
Surianee » Passing Parameters in Crystal Report Using ASP
0 pts. | May 12 2008 7:38AM GMT
[...] Here’s a forum entry Filed under: Crystal Report [...]






