Calendar Problem in Forms [message #165052] |
Tue, 28 March 2006 03:27  |
boseinfo
Messages: 22 Registered: December 2005 Location: Bahrain
|
Junior Member |
|
|
Hi
I have attached the calendar object provided by Oracle (i.e, Calendar.pll etc from Oracle Forms Demo) to my EMP form at HIREDATE field.
When I call calendar form using F9 and click on OK button I am getting today's date correctly (i.e, 28-Feb-2006) but when I select other date (Say 14-Mar-2006) I am getting 14-Mar-0006 instead of 14-Mar-2006.
Could anybody please help to resolve this.
Rgds
Bose
|
|
|
|
|
|
Re: Calendar Problem in Forms [message #165751 is a reply to message #165564] |
Sat, 01 April 2006 04:50   |
boseinfo
Messages: 22 Registered: December 2005 Location: Bahrain
|
Junior Member |
|
|
Hi David
I've seen that value in Database.
I mean 'Stored' means value stored in Database.
Detail Explnation for what you have asked
Format Mask is DD-Mon-YY on HIREDATE Field. When I select date from calendar the date appears on HIREDATE Field is 14-Mar-06 and stored in database as 14-Mar-2006.
HIREDATE Field length is 11.
Rgds
Bose
|
|
|
Re: Calendar Problem in Forms [message #165856 is a reply to message #165751] |
Mon, 03 April 2006 02:19   |
 |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
When I say that I 'see a value in the database' it means I am looking at the 7-byte hexadecimal value in the raw database file. Again, how are you 'seeing' the data? Are you using SQL*PLus, or TOAD, or Oracle SQL Developer, or Access?
I believe that you have a NLS_DATE_FORMAT issue. this means that you will need to determine the NLS_LANG and NLS_LANGUAGE settings as well as NLS_DATE_FORMAT.
Are you running your form through a Developer Server or an Application Server? If DS then check the NLS_DATE_FORMAT in your registry and forms_web.cfg file. If AS then check its settings. If you are looking through SQL*Plus then check the databases NLS values.
David
[Updated on: Wed, 05 April 2006 01:59] Report message to a moderator
|
|
|
|