Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Crystal Reports date parameter for stored procedure in Oracle

Status
Not open for further replies.

crystaldev1

Programmer
Nov 6, 2003
232
0
0
US
Hello,

I'm using CR2008 and Oracle DB. I have a report using stored procedure as a datasource and has a date parameter. When I select a date from Crystal Reports and run the report, I get an error message as follows:
ORA-01722: invalid number

However, if I do not select a date and use NULL, the report runs fine since the stored procedure has a DATE DEFAULT TRUNC(SYSDATE - 1). It appears that the stored procedure does not like the Crystal Reports date format. Any suggestions? Thanks.
 
You should not create a Crystal Reports parameter. Delete parameter. Crystal will automatically create a parameter for the SP if one is required.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top