|
|
Question : Error detected by database DLL?! Pls come in, thanks
|
|
Hi,
I am using Crystal 8.5, and I have a report with a on-demand subreport. The main report will pass two datetime parameters to the subreport, like startdate and enddate. The report is working in Crystal Report, but when I access it from ActiveX Viewer through ASP, the main report works, but when I want to click the on-demand subreport got this messege: CRAXDRT Error Occured on Server. -2147192179: Error detected by database DLL.
But if I delete the part of using ?PM-?Startdate and ?PM-?Enddate in the selection formula(I still use the two parameter in the subreport), the subreport will work in ActiveX Viewer.
What's wrong? I cannot figure it out. PLEASE GIVE ME SOME IDEAS! THANKS A LOT!
Ted
|
Answer : Error detected by database DLL?! Pls come in, thanks
|
|
Thank you guys. I found the problem. When I passed parameters from asp file to report, I passed wrong data type. I passed date not datetime. The main report works anyway even parameters are not datetime, but the subreport didn't. Thanks again.
Ted
|
|
|
|
|