Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

date calendar problem

527908May 19 2007 — edited May 20 2007
hey.......

i have one textbox which is date type field and one date button.
when user press button, calendr opens from which he can select date ......
..this was working fine ....
but now when i am setting text field value to sysdate on when_new_record_instance.........its allowing to open calendar but when date is selected , its not changing the date and keeps sysdte only as value......

on date button pressed i have fillowing code

date_lov.get_date(sysdate, -- initial date
'PRODUCTION.PRODUCTION_DATE', -- return block.item
240, -- window x position
60, -- window y position
'Start Date', -- window title
'OK', -- ok button label
'Cancel', -- cancel button label
TRUE, -- highlight weekend days
FALSE, -- autoconfirm selection
FALSE); -- autoskip after selection

on key-listval trigger of text box i have following code

date_lov.get_date(sysdate, -- initial date
'PRODUCTION.PRODUCTION_DATE', -- return block.item
240, -- window x position
60, -- window y position
'Start Date', -- window title
'OK', -- ok button label
'Cancel', -- cancel button label
TRUE, -- highlight weekend days
FALSE, -- autoconfirm selection
FALSE); -- autoskip after selection

where am I going wrong.......?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2007
Added on May 19 2007
3 comments
592 views