ReportingAnalyst
MIS
'This line creates an object to reference the first parameter in the report.
'strEmpID which is numeric should be equal to ?EmpID. Hence cast as double of type number 7. (See the chart below)
set Param1 = session("ParamCollection").Item(2)
'NewParamValue = "?EmpID"
NewParamValue = strEmpID
Call Param1.SetCurrentValue(CDbl(NewParamValue),7)
'This line creates an object to reference the 2nd parameter in the report.
'Period is datetime. Hence cast as double of type number 10. (See the chart below)
set Param2 = session("ParamCollection").Item(2)
'NewParamValue = "?Post Date"
NewParamValue = strPeriod
Call Param2.SetCurrentValue(CDate(NewParamValue),10)
I cannot see any report data - so I am guessing that no parameters were passed. Please guide me here. If I need to use a different method altogether.
'strEmpID which is numeric should be equal to ?EmpID. Hence cast as double of type number 7. (See the chart below)
set Param1 = session("ParamCollection").Item(2)
'NewParamValue = "?EmpID"
NewParamValue = strEmpID
Call Param1.SetCurrentValue(CDbl(NewParamValue),7)
'This line creates an object to reference the 2nd parameter in the report.
'Period is datetime. Hence cast as double of type number 10. (See the chart below)
set Param2 = session("ParamCollection").Item(2)
'NewParamValue = "?Post Date"
NewParamValue = strPeriod
Call Param2.SetCurrentValue(CDate(NewParamValue),10)
I cannot see any report data - so I am guessing that no parameters were passed. Please guide me here. If I need to use a different method altogether.