Hi all,
I'm running Crystal Reports 9.x from ASP's.
When the user selects a range of dates, I want to print their selections/parameters in the C/R Header.
In ASP:
session("oRpt").RecordSelectionFormula = "{employees.HireDate} >=" &
FromDate & " AND {employees.HireDate} <=" & ThruDate
and:
'...set the From date
Set session("ParamCollection") = Session("oRpt").Parameterfields
Set Param1 = session("ParamCollection").Item(1)
Call Param1.SetCurrentValue (cstr(FromDate), 12)
' ...set the Thru date
Set Param2 = session("ParamCollection").Item(2)
Call Param2.SetCurrentValue (cstr(ThruDate), 12)
The reports run absolutely fine and as expected; but how do I get the params, 'FromDate' and 'ThruDate' to print in the C/R header?
TIA...
I'm running Crystal Reports 9.x from ASP's.
When the user selects a range of dates, I want to print their selections/parameters in the C/R Header.
In ASP:
session("oRpt").RecordSelectionFormula = "{employees.HireDate} >=" &
FromDate & " AND {employees.HireDate} <=" & ThruDate
and:
'...set the From date
Set session("ParamCollection") = Session("oRpt").Parameterfields
Set Param1 = session("ParamCollection").Item(1)
Call Param1.SetCurrentValue (cstr(FromDate), 12)
' ...set the Thru date
Set Param2 = session("ParamCollection").Item(2)
Call Param2.SetCurrentValue (cstr(ThruDate), 12)
The reports run absolutely fine and as expected; but how do I get the params, 'FromDate' and 'ThruDate' to print in the C/R header?
TIA...