I am trying to pass a date parameter to Crystal Reports 8.0 from VC. It works great for strings and numbers but crashes on dates. I assuming that my syntax is incorrect. Does anyone have a suggestion? Thanks in advance.
m_Report->ParameterFields->GetItem(1)->SetCurrentValue((_bstr_t)"@TheDateParameter;& Date(2000,01,01) &;
m_Report->ParameterFields->GetItem(1)->SetCurrentValue((_bstr_t)"@TheDateParameter;& Date(2000,01,01) &;