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:
  1. crxReport.ParameterFields.GetItemByName("startdate").AddCurrentValue Format$(dStartDateRCE, "yyyy/mm/dd")
  2.         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:
  1. {Agent.Agent_Date_Of_Contract} >= {?startdate} and
  2. {Agent.Agent_Date_Of_Contract} <= {?enddate}

anyone know what I am doing wrong?