Hello,
I am having trouble passing 2 dates as parametes for my report which are used in the selection of records.
I am passing them same as I would for a string but they are dates:
VB Code:
crxReport.ParameterFields.GetItemByName("startdate").AddCurrentValue Format$(dStartDateRCE, "yyyy/mm/dd") crxReport.ParameterFields.GetItemByName("enddate").AddCurrentValue Format$(dEndDateRCE, "yyyy/mm/dd")
Everytime I run the report it prompts me for date values...
this is the selection code that is using the parameters:
VB Code:
{Agent.Agent_Date_Of_Contract} >= {?startdate} and {Agent.Agent_Date_Of_Contract} <= {?enddate}
anyone know what I am doing wrong?


Reply With Quote