How to resolve this Search Problem????

Hi Every one
I have a search module..I've never worked on... the problem is when i run that search module and after selecting date from date picker and clicking the search button i got following error:
Error
JBO-27122: SQL error during statement preparation. Statement: SELECT CtLine1.COST_TRAN_LN, CtLine1.COST_TRAN_ID, CtLine1.COST_TRAN_DATE, CtLine1.LINE_DESC, CtLine1.ACCOUNT_ID, CtLine1.OPERATING_UNIT, CtLine1.FUND_CODE, CtLine1.DEPT_ID, CtLine1.PROGRAM_CODE, CtLine1.CLASS AS CLASS11, CtLine1.PRODUCT, CtLine1.ACTIVITY_ID, CtLine1.STATUS_ID, CtLine1.TRANSACTION_AMOUNT, CtLine1.PROJECT_ID, CtLine1.CONTRACT_ID, CtLine1.ADJUST_AMNT, CtLine1.ADJUST_PRCNT FROM CT_LINE CtLine1 WHERE ( ( (CtLine1.COST_TRAN_DATE = TO_DATE('Mar 13, 2008', 'yyyy-mm-dd')) ) )
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
Actually I'm Getting Date from date picker in Mar 13, 2008 format and my database format is yyyy-mm-dd...
so please help what to do now...and how to resolve this problem..

hi frank,
use this following code
<af:selectInputDate>
your code here
<af:convertDateTime pattern="yyyy/M/d"
secondaryPattern="d/M/yyyy" />
</af:selectInputDate>
the database date formet it different from what u have selected using selectInputDate.
just add about bolded tag.
Thanks & Regards,
Arun

Similar Messages

Maybe you are looking for

  • XML not loading in SWF

    Please, please someone help. I have been at this for days and can't see the woods for the trees any more. I have a swf embedded in a htm file. I pass FlashVars to it with a view to setting colours for symbols already in the swf. No matter what I do I

  • Custom print order in Address Book

    HI all, I want to print an member List for my organization in address book with a Custom Sort Order.   I don't know how to do it.   Here is the thing:  I made a contact list of the members of the organization so that I can have on File.   Select my C

  • Excise form Purchase and Sales side

    Hi, Can some one guide me the Purchase side Excise through PO and Sale side Excise. It would be thankfull if some one can give me T code from Purchase side and Sales side. Points will awarded. Thanks, Pallavi

  • Interactive report for Cost center

    Can any body tell me what are tables involved in creating a cost center reports for department wise data and cost center category wise data.

  • Bookmarks tab on Yahoo Toolbar won't show drop down list of Boolmarks?.

    I tried removing and reinstalling Yahoo Toolbar extension but still have problem.