Hi,
I am trying to export a report in MS WORD format using Crystal Report 8. The report uses a stored procedure which has one String and two date parameters. I have downloaded an example from Crystal Descions which explains how to export a report using RDC.
Following line is being used to pass string parameter to the stored procedure
CROBJECT.Parameters.Item(1).AddCurrentValue("12000")
Type Mismatch ! Error occures when I try to pass the date value which is suppose to be in this format as shown below
CROBJECT.Parameters.Item(2).AddCurrentValue("2004-04-01 00:00:00.000")
Thanks in advance for the help.
Regards,
- krshaikh -
I am trying to export a report in MS WORD format using Crystal Report 8. The report uses a stored procedure which has one String and two date parameters. I have downloaded an example from Crystal Descions which explains how to export a report using RDC.
Following line is being used to pass string parameter to the stored procedure
CROBJECT.Parameters.Item(1).AddCurrentValue("12000")
Type Mismatch ! Error occures when I try to pass the date value which is suppose to be in this format as shown below
CROBJECT.Parameters.Item(2).AddCurrentValue("2004-04-01 00:00:00.000")
Thanks in advance for the help.
Regards,
- krshaikh -