If I call my report from ASP,what is the synteax of passind date parameter to my report.
set session("ParamCollection" = Session("oRpt".Parameterfields
set Param6 = session("ParamCollection".Item(6)
ParamValue6 = "Date(2001,11,10)"
Call Param6.SetCurrentValue(CStr(ParamValue6))
is the syntax I tried.ParamValue6 is my sixth parameter but the compiler gives error.
cpeaut32 error '800a753c'
Invalid enum value.
I also tried different syntaxes such as
ParamValue6 = "10/11/2001"
ParamValue6 = 10/11/2001
but they were fruitless either.Doeds anyone knows the correct date syntax in ASP?
set session("ParamCollection" = Session("oRpt".Parameterfields
set Param6 = session("ParamCollection".Item(6)
ParamValue6 = "Date(2001,11,10)"
Call Param6.SetCurrentValue(CStr(ParamValue6))
is the syntax I tried.ParamValue6 is my sixth parameter but the compiler gives error.
cpeaut32 error '800a753c'
Invalid enum value.
I also tried different syntaxes such as
ParamValue6 = "10/11/2001"
ParamValue6 = 10/11/2001
but they were fruitless either.Doeds anyone knows the correct date syntax in ASP?