snazzyCrunch
Technical User
I have a report that is called via an ASP page. The report excepts one parameter field, which is a DateTime range value. Here is the code I use:
set session("ParamCollection" = Session("oRpt".Parameterfields
set Param1 = session("ParamCollection".Item(1)
Call Param1.AddCurrentRange(cDate(StartDateTime), cDate(EndDateTime), 3)
This works fine. The problem I run into is when I try to export the report to Excel. I receive the dreaded error "craxdrt error occured on Server. -2147190908: Failed to export the report".
I can export the report to a .rtf, .doc, or .rpt without any problems.
I read thru the documentation at the Crystal Decisions Support Site ( which said to set a default value for my parameter field. I tried this and it did not help.
PLEASE HELP!!!
Thanks,
Rob
hurricane911@hotmail.com
set session("ParamCollection" = Session("oRpt".Parameterfields
set Param1 = session("ParamCollection".Item(1)
Call Param1.AddCurrentRange(cDate(StartDateTime), cDate(EndDateTime), 3)
This works fine. The problem I run into is when I try to export the report to Excel. I receive the dreaded error "craxdrt error occured on Server. -2147190908: Failed to export the report".
I can export the report to a .rtf, .doc, or .rpt without any problems.
I read thru the documentation at the Crystal Decisions Support Site ( which said to set a default value for my parameter field. I tried this and it did not help.
PLEASE HELP!!!
Thanks,
Rob
hurricane911@hotmail.com