Writing Code
 Crystal Reports Forum : Crystal Reports .NET 2003 : Writing Code
Message Icon Topic: JDBC Error: ORA-01858 Post Reply Post New Topic
Author Message
nikhil_vb
Newbie
Newbie
Avatar

Joined: 16 Feb 2009
Location: India
Online Status: Offline
Posts: 2
Quote nikhil_vb Replybullet Topic: JDBC Error: ORA-01858
    Posted: 16 Feb 2009 at 1:56pm
Hi,

I am trying to integrate crystal reports with a J2EE project. I have a table which has a column "ORDER_DATE" with datatype - DATE. i am trying to get this column using "so.order_date between to_date('{?FromDate}','MM/DD/YYYY') and to_date('{?ToDate}','MM/DD/YYYY')". I pass the dates from my code in this very format "02/03/2009". But when i run the report, I get  the error:

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: JDBC Error: ORA-01858: a non-numeric character was found where a numeric was expected ---- Error code:-2147467259 Error code name:failed

I have tried removing the date conditions and it seems to work fine without it. I read a lot of forums and they all say that there is something wrong with the date format. Please help with this....
Regards,
Nikhil
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.047 seconds.