williey
Technical User
- Jan 21, 2004
- 242
how do you pass date ranges from vb script? I keep getting "parameter field value is not range" error. Tried a number of ways to pass the value but to no avail.
The following is the different ways I have tried:
oRptStatParam1.AddCurrentValue ("04/01/2004 04/26/2004")
oRptStatParam1.AddCurrentValue ("04/01/2004 - 04/26/2004")
oRptStatParam1.AddCurrentValue ("04/01/2004, 04/26/2004")
oRptStatParam1.AddCurrentValue ("04/01/2004 to 04/26/2004")
The following is the different ways I have tried:
oRptStatParam1.AddCurrentValue ("04/01/2004 04/26/2004")
oRptStatParam1.AddCurrentValue ("04/01/2004 - 04/26/2004")
oRptStatParam1.AddCurrentValue ("04/01/2004, 04/26/2004")
oRptStatParam1.AddCurrentValue ("04/01/2004 to 04/26/2004")