
Correct way to pass a datetime parameter to a crystal report
Hi,
if you want to set the criteria for the date and time then
you can you the following format.
Cr.ReplaceSelectionFormula "(CDate({AccountDetails.CDate})
Quote:
>=Cdate('" & Format(cboFrom.Value, "MM/dd/YYYY") & "')"
regards,
jawahir
Quote:
>-----Original Message-----
>What is the correct way to pass a datetiime parameter
discrete value to a
>report?
>I keep getting the error Specified cast is not valid?
>.