Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vb6, Crystal7, pass a date range to a parameter?

Status
Not open for further replies.

mgason

Technical User
Feb 6, 2003
158
AU
Hi,
I need to pass in the values for a date range in a Crystal7 report.

The Parameter (TimeFrame) is set to value date and type range in Crystal. It works fine in the report asking for start and end dates.

The dates are passed from 2 fields in VB6

TimeFrame is Parameter(0) its the only one

I tried this and variations
Code:
ShiftReport.ParameterFields(0) = "TimeFrame;" & Format(StartDateBox, "mm/dd/yyyy") & "," & Format(EndDateBox, "mm/dd/yyyy") & ";False"

am I even close?
thanks mark

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top